Class: CWM::Popup

Inherits:
Dialog show all
Defined in:
library/cwm/src/lib/cwm/popup.rb

Overview

CWM pop-up dialog

This class offers a CWM dialog which behaves as a pop-up.

See Also:

  • for remaining configuration options.

Instance Method Summary collapse

Methods inherited from Dialog

#abort_button, #abort_handler, #back_button, #back_handler, #contents, #disable_buttons, #help, #next_button, #next_handler, run, #run, #skip_store_for

Instance Method Details

#should_open_dialog?true

Determines that a dialog should always be open

Returns:

  • (true)

See Also:

  • Dialog#wizard_create_dialog

34
35
36
# File 'library/cwm/src/lib/cwm/popup.rb', line 34

def should_open_dialog?
  true
end

#titleString

Popup does not allow nil, so overwrite Dialog default value.

Returns:

  • (String)

    The dialog title.


40
41
42
# File 'library/cwm/src/lib/cwm/popup.rb', line 40

def title
  ""
end