Class: Y2Network::Widgets::S390Channels

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

Overview

A container widget for setting the QETH and HSI device channels (read, write and control)

Instance Method Summary collapse

Constructor Details

#initialize(settings) ⇒ S390Channels

Constructor

Parameters:


31
32
33
34
# File 'src/lib/y2network/widgets/s390_channels.rb', line 31

def initialize(settings)
  textdomain "network"
  @settings = settings
end

Instance Method Details

#contentsObject

See Also:

  • CWM::AbstractWidget

42
43
44
45
46
47
48
49
50
# File 'src/lib/y2network/widgets/s390_channels.rb', line 42

def contents
  HBox(
    S390ReadChannel.new(@settings),
    HSpacing(1),
    S390WriteChannel.new(@settings),
    HSpacing(1),
    S390DataChannel.new(@settings)
  )
end

#labelObject

See Also:

  • CWM::AbstractWidget

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

def label
  ""
end