Class: Y2Network::Widgets::AddInterface
- Inherits:
-
CWM::PushButton
- Object
- CWM::PushButton
- Y2Network::Widgets::AddInterface
- Defined in:
- src/lib/y2network/widgets/add_interface.rb
Instance Method Summary collapse
- #handle ⇒ Object
- #help ⇒ Object
-
#initialize ⇒ AddInterface
constructor
A new instance of AddInterface.
- #label ⇒ Object
Constructor Details
#initialize ⇒ AddInterface
Returns a new instance of AddInterface.
29 30 31 32 |
# File 'src/lib/y2network/widgets/add_interface.rb', line 29 def initialize super textdomain "network" end |
Instance Method Details
#handle ⇒ Object
38 39 40 41 |
# File 'src/lib/y2network/widgets/add_interface.rb', line 38 def handle Y2Network::Sequences::Interface.new.add :redraw end |
#help ⇒ Object
43 44 45 46 47 48 49 |
# File 'src/lib/y2network/widgets/add_interface.rb', line 43 def help # TRANSLATORS: Help for 'Add' interface configuration button _( "<p><b><big>Adding a Network Card:</big></b><br>\nPress " \ "<b>Add</b> to configure a new network card manually.</p>\n" ) end |
#label ⇒ Object
34 35 36 |
# File 'src/lib/y2network/widgets/add_interface.rb', line 34 def label Yast::Label.AddButton end |