Class: Watobo::Gui::CreateGeneratorDlg
- Inherits:
-
FXDialogBox
- Object
- FXDialogBox
- Watobo::Gui::CreateGeneratorDlg
- Defined in:
- lib/watobo/gui/fuzzer_gui.rb
Instance Method Summary collapse
- #getGenerator(fuzzer) ⇒ Object
-
#initialize(owner) ⇒ CreateGeneratorDlg
constructor
A new instance of CreateGeneratorDlg.
Constructor Details
#initialize(owner) ⇒ CreateGeneratorDlg
Returns a new instance of CreateGeneratorDlg.
193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 193 def initialize(owner) super(owner, "Create Generator", DECOR_TITLE|DECOR_BORDER) main = FXVerticalFrame.new(self, :opts => LAYOUT_FILL_X|LAYOUT_FILL_Y|FRAME_NONE, :padding => 0) @fuzzerSelection = FuzzerGenSelect.new(main, self, :opts => LAYOUT_FILL_X|LAYOUT_FILL_Y|FRAME_NONE, :padding => 0) = FXHorizontalFrame.new(main, :opts => LAYOUT_SIDE_BOTTOM|LAYOUT_FILL_X|PACK_UNIFORM_WIDTH, :padLeft => 40, :padRight => 40, :padTop => 20, :padBottom => 20) # Accept accept = FXButton.new(, "&Accept", nil, self, ID_ACCEPT, FRAME_RAISED|FRAME_THICK|LAYOUT_RIGHT|LAYOUT_CENTER_Y) # Cancel FXButton.new(, "&Cancel", nil, self, ID_CANCEL, FRAME_RAISED|FRAME_THICK|LAYOUT_RIGHT|LAYOUT_CENTER_Y) end |
Instance Method Details
#getGenerator(fuzzer) ⇒ Object
189 190 191 |
# File 'lib/watobo/gui/fuzzer_gui.rb', line 189 def getGenerator(fuzzer) return @fuzzerSelection.createGenerator(fuzzer) end |