Class: Glimmer::SWT::LatestDialogProxy
- Inherits:
-
Object
- Object
- Glimmer::SWT::LatestDialogProxy
- Defined in:
- lib/glimmer/swt/latest_dialog_proxy.rb
Overview
< DialogProxy
Instance Method Summary collapse
-
#initialize(parent, args, block) ⇒ LatestDialogProxy
constructor
TODO consider overriding all methods from DialogProxy and proxying to them TODO consider the idea of promoting this object into the real dialog once Document is ready.
- #open ⇒ Object
Constructor Details
#initialize(parent, args, block) ⇒ LatestDialogProxy
TODO consider overriding all methods from DialogProxy and proxying to them TODO consider the idea of promoting this object into the real dialog once Document is ready
28 29 30 |
# File 'lib/glimmer/swt/latest_dialog_proxy.rb', line 28 def initialize(parent, args, block) # No Op end |
Instance Method Details
#open ⇒ Object
32 33 34 35 36 37 38 |
# File 'lib/glimmer/swt/latest_dialog_proxy.rb', line 32 def open Document.ready? do DisplayProxy.instance.async_exec { DisplayProxy.instance.dialogs.last&.open } end end |