Class: JLDrill::GetFilenameContext::FilenameSelectorView
- Inherits:
-
Context::View
- Object
- Context::View
- JLDrill::GetFilenameContext::FilenameSelectorView
- Defined in:
- lib/jldrill/contexts/GetFilenameContext.rb
Direct Known Subclasses
JLDrill::Gtk::FilenameSelectorView, Test::FilenameSelectorView
Instance Attribute Summary collapse
-
#directory ⇒ Object
Returns the value of attribute directory.
-
#filename ⇒ Object
Returns the value of attribute filename.
Attributes inherited from Context::View
Instance Method Summary collapse
-
#destroy ⇒ Object
Destroy the modal dialog.
-
#initialize(context) ⇒ FilenameSelectorView
constructor
A new instance of FilenameSelectorView.
-
#run ⇒ Object
Open the model dialog.
Methods inherited from Context::View
#addView, #getWidget, #removeView, #removingViewFrom, #viewAddedTo
Constructor Details
#initialize(context) ⇒ FilenameSelectorView
Returns a new instance of FilenameSelectorView.
26 27 28 29 30 |
# File 'lib/jldrill/contexts/GetFilenameContext.rb', line 26 def initialize(context) super(context) @filename = nil @directory = nil end |
Instance Attribute Details
#directory ⇒ Object
Returns the value of attribute directory.
23 24 25 |
# File 'lib/jldrill/contexts/GetFilenameContext.rb', line 23 def directory @directory end |
#filename ⇒ Object
Returns the value of attribute filename.
23 24 25 |
# File 'lib/jldrill/contexts/GetFilenameContext.rb', line 23 def filename @filename end |
Instance Method Details
#destroy ⇒ Object
Destroy the modal dialog
33 34 35 |
# File 'lib/jldrill/contexts/GetFilenameContext.rb', line 33 def destroy # Please define in the concrete class end |
#run ⇒ Object
Open the model dialog
38 39 40 |
# File 'lib/jldrill/contexts/GetFilenameContext.rb', line 38 def run # Please define in the concrete class end |