Class: Installation::Widgets::LSM
- Inherits:
-
CWM::CustomWidget
- Object
- CWM::CustomWidget
- Installation::Widgets::LSM
- Defined in:
- src/lib/installation/widgets/lsm.rb
Overview
Note:
the selinux module will show also a selector for choosing the SELinux mode to be used after the system is booted
This widget contents a selector for choosing between the supported Linux Security Major Modules during installation.
Instance Attribute Summary collapse
-
#settings ⇒ Object
Returns the value of attribute settings.
Instance Method Summary collapse
- #contents ⇒ Object
-
#handle(event) ⇒ Object
It refresh the widget content dinamically when the selection of the LSM is modified.
- #init ⇒ Object
-
#initialize(settings) ⇒ LSM
constructor
Constructor.
Constructor Details
#initialize(settings) ⇒ LSM
Constructor
37 38 39 40 41 |
# File 'src/lib/installation/widgets/lsm.rb', line 37 def initialize(settings) super() @settings = settings self.handle_all_events = true end |
Instance Attribute Details
#settings ⇒ Object
Returns the value of attribute settings.
32 33 34 |
# File 'src/lib/installation/widgets/lsm.rb', line 32 def settings @settings end |
Instance Method Details
#contents ⇒ Object
50 51 52 53 54 55 |
# File 'src/lib/installation/widgets/lsm.rb', line 50 def contents VBox( , Left() ) end |
#handle(event) ⇒ Object
It refresh the widget content dinamically when the selection of the LSM is modified
60 61 62 63 64 65 |
# File 'src/lib/installation/widgets/lsm.rb', line 60 def handle(event) return if event["ID"] != . refresh nil end |
#init ⇒ Object
44 45 46 47 |
# File 'src/lib/installation/widgets/lsm.rb', line 44 def init .init refresh end |