Class: Y2Network::Dialogs::S390CtcActivation

Inherits:
S390DeviceActivation show all
Defined in:
src/lib/y2network/dialogs/s390_ctc_activation.rb

Overview

Dialog for activating a CTC device

Instance Attribute Summary

Attributes inherited from S390DeviceActivation

#activator, #builder

Instance Method Summary collapse

Methods inherited from S390DeviceActivation

#abort_handler, for, #initialize, #run, #title

Constructor Details

This class inherits a constructor from Y2Network::Dialogs::S390DeviceActivation

Instance Method Details

#contentsObject



26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# File 'src/lib/y2network/dialogs/s390_ctc_activation.rb', line 26

def contents
  # Already defined in the base class but added here just because of the
  # pot check
  textdomain "network"

  HBox(
    HSpacing(6),
    # Frame label
    Frame(
      _("S/390 Device Settings"),
      HBox(
        HSpacing(2),
        VBox(
          VSpacing(1),
          # TextEntry label
          protocol_widget,
          VSpacing(1),
          HBox(
            read_channel_widget,
            HSpacing(1),
            write_channel_widget
          )
        ),
        HSpacing(2)
      )
    ),
    HSpacing(6)
  )
end