Class: Glimmer::SWT::LatestMessageBoxProxy
- Inherits:
-
Object
- Object
- Glimmer::SWT::LatestMessageBoxProxy
- Defined in:
- lib/glimmer/swt/latest_message_box_proxy.rb
Overview
< MessageBoxProxy
Instance Method Summary collapse
-
#initialize(parent, args, block) ⇒ LatestMessageBoxProxy
constructor
TODO consider overriding all methods from MessageBoxProxy and proxying to them TODO consider the idea of promoting this object into the real message_box once Document is ready.
- #open ⇒ Object
Constructor Details
#initialize(parent, args, block) ⇒ LatestMessageBoxProxy
TODO consider overriding all methods from MessageBoxProxy and proxying to them TODO consider the idea of promoting this object into the real message_box once Document is ready
28 29 30 |
# File 'lib/glimmer/swt/latest_message_box_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_message_box_proxy.rb', line 32 def open Document.ready? do DisplayProxy.instance.async_exec { DisplayProxy.instance..last&.open } end end |