Class: Y2Network::Widgets::AddInterface

Inherits:
CWM::PushButton
  • Object
show all
Defined in:
src/lib/y2network/widgets/add_interface.rb

Instance Method Summary collapse

Constructor Details

#initializeAddInterface


29
30
31
# File 'src/lib/y2network/widgets/add_interface.rb', line 29

def initialize
  textdomain "network"
end

Instance Method Details

#handleObject


37
38
39
40
# File 'src/lib/y2network/widgets/add_interface.rb', line 37

def handle
  Y2Network::Sequences::Interface.new.add
  :redraw
end

#labelObject


33
34
35
# File 'src/lib/y2network/widgets/add_interface.rb', line 33

def label
  Yast::Label.AddButton
end