Class: JLDrill::MainContext::MainWindowView
- Inherits:
-
Context::View
- Object
- Context::View
- JLDrill::MainContext::MainWindowView
- Defined in:
- lib/jldrill/contexts/MainContext.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Context::View
Instance Method Summary collapse
-
#close ⇒ Object
This is a convenience method for the tests so that they don’t have to catch the exit on the context.
-
#destroy ⇒ Object
Destroy the main window.
- #inititalize(context) ⇒ Object
-
#showBusy(bool) ⇒ Object
Show the busy cursor in the UI if bool is true.
Methods inherited from Context::View
#addView, #getWidget, #initialize, #removeView, #removingViewFrom, #viewAddedTo
Constructor Details
This class inherits a constructor from Context::View
Instance Method Details
#close ⇒ Object
This is a convenience method for the tests so that they don’t have to catch the exit on the context.
110 111 112 |
# File 'lib/jldrill/contexts/MainContext.rb', line 110 def close context.exit end |
#destroy ⇒ Object
Destroy the main window
97 98 99 |
# File 'lib/jldrill/contexts/MainContext.rb', line 97 def destroy # define in the concrete class end |
#inititalize(context) ⇒ Object
92 93 94 |
# File 'lib/jldrill/contexts/MainContext.rb', line 92 def inititalize(context) super(context) end |
#showBusy(bool) ⇒ Object
Show the busy cursor in the UI if bool is true. This happens during a long event where the user can’t interact with the window
104 105 106 |
# File 'lib/jldrill/contexts/MainContext.rb', line 104 def showBusy(bool) # Please define in the concrete class end |