Module: Yast::IplbDialogsInclude
- Defined in:
- ../../src/include/iplb/dialogs.rb
Instance Method Summary (collapse)
-
- (Object) Configure1Dialog
Configure1 dialog.
-
- (Object) Configure2Dialog
Configure2 dialog.
- - (Object) initialize_iplb_dialogs(include_target)
Instance Method Details
- (Object) Configure1Dialog
Configure1 dialog
44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 |
# File '../../src/include/iplb/dialogs.rb', line 44 def Configure1Dialog # Iplb configure1 dialog caption caption = _("IPLB Configuration") # Iplb configure1 dialog contents contents = Label(_("First part of configuration of IPLB")) Wizard.SetContentsButtons( caption, contents, Ops.get_string(@HELPS, "c1", ""), Label.BackButton, Label.NextButton ) ret = nil while true ret = UI.UserInput # abort? if ret == :abort || ret == :cancel if ReallyAbort() break else next end elsif ret == :next || ret == :back break else Builtins.y2error("unexpected retcode: %1", ret) next end end deep_copy(ret) end |
- (Object) Configure2Dialog
Configure2 dialog
83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 |
# File '../../src/include/iplb/dialogs.rb', line 83 def Configure2Dialog # Iplb configure2 dialog caption caption = _("IPLB Configuration") # Iplb configure2 dialog contents contents = Label(_("Second part of configuration of IPLB")) Wizard.SetContentsButtons( caption, contents, Ops.get_string(@HELPS, "c2", ""), Label.BackButton, Label.NextButton ) ret = nil while true ret = UI.UserInput # abort? if ret == :abort || ret == :cancel if ReallyAbort() break else next end elsif ret == :next || ret == :back break else Builtins.y2error("unexpected retcode: %1", ret) next end end deep_copy(ret) end |
- (Object) initialize_iplb_dialogs(include_target)
32 33 34 35 36 37 38 39 40 |
# File '../../src/include/iplb/dialogs.rb', line 32 def initialize_iplb_dialogs(include_target) textdomain "iplb" Yast.import "Label" Yast.import "Wizard" Yast.import "Iplb" Yast.include include_target, "iplb/helps.rb" end |