Class: Y2Network::Dialogs::WirelessWepKeys
- Inherits:
-
CWM::Dialog
- Object
- CWM::Dialog
- Y2Network::Dialogs::WirelessWepKeys
- Defined in:
- src/lib/y2network/dialogs/wireless_wep_keys.rb
Overview
Dialog to manage WEP keys
Defined Under Namespace
Classes: WEPKeyLength, WEPKeys
Instance Method Summary collapse
-
#abort_button ⇒ Object
Omits abort.
-
#back_button ⇒ Object
Omits back button, only let OK be.
- #contents ⇒ Object
- #help ⇒ Object
-
#initialize(builder) ⇒ WirelessWepKeys
constructor
A new instance of WirelessWepKeys.
- #next_button ⇒ Object
-
#should_open_dialog? ⇒ Boolean
Always open new dialog to work properly in sequence.
- #title ⇒ Object
Constructor Details
#initialize(builder) ⇒ WirelessWepKeys
Returns a new instance of WirelessWepKeys.
33 34 35 36 |
# File 'src/lib/y2network/dialogs/wireless_wep_keys.rb', line 33 def initialize(builder) textdomain "network" @builder = builder end |
Instance Method Details
#abort_button ⇒ Object
Omits abort
85 86 87 |
# File 'src/lib/y2network/dialogs/wireless_wep_keys.rb', line 85 def "" end |
#back_button ⇒ Object
Omits back button, only let OK be. So it do directly modification
90 91 92 |
# File 'src/lib/y2network/dialogs/wireless_wep_keys.rb', line 90 def "" end |
#contents ⇒ Object
52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'src/lib/y2network/dialogs/wireless_wep_keys.rb', line 52 def contents HBox( HSpacing(5), VBox( VSpacing(1), # Frame label Frame( _("WEP Keys"), HBox( HSpacing(3), VBox( VSpacing(1), # ComboBox label Left(WEPKeyLength.new(@builder)), VSpacing(1), WEPKeys.new(@builder), VSpacing(1) ), HSpacing(3) ) ), VSpacing(1) ), HSpacing(5) ) end |
#help ⇒ Object
42 43 44 45 46 47 48 49 50 |
# File 'src/lib/y2network/dialogs/wireless_wep_keys.rb', line 42 def help _( "<p>In this dialog, define your WEP keys used\n" \ "to encrypt your data before it is transmitted. You can have up to four keys,\n" \ "although only one key is used to encrypt the data. This is the default key.\n" \ "The other keys can be used to decrypt data. Usually you have only\n" \ "one key.</p>" ) end |
#next_button ⇒ Object
94 95 96 |
# File 'src/lib/y2network/dialogs/wireless_wep_keys.rb', line 94 def Yast::Label.OKButton end |
#should_open_dialog? ⇒ Boolean
Always open new dialog to work properly in sequence
80 81 82 |
# File 'src/lib/y2network/dialogs/wireless_wep_keys.rb', line 80 def should_open_dialog? true end |
#title ⇒ Object
38 39 40 |
# File 'src/lib/y2network/dialogs/wireless_wep_keys.rb', line 38 def title _("Wireless Keys") end |