Class: MateExample::RemoveAnnotations
- Inherits:
-
Jface::Action
- Object
- Jface::Action
- MateExample::RemoveAnnotations
- Defined in:
- lib/javamateview/example.rb
Instance Attribute Summary collapse
-
#window ⇒ Object
Returns the value of attribute window.
Instance Method Summary collapse
Instance Attribute Details
#window ⇒ Object
Returns the value of attribute window.
163 164 165 |
# File 'lib/javamateview/example.rb', line 163 def window @window end |
Instance Method Details
#run ⇒ Object
165 166 167 |
# File 'lib/javamateview/example.rb', line 165 def run @window.mate_text.annotations.each {|a| @window.mate_text.removeAnnotation(a) } end |