Class: MateExample::ToggleInvisibles

Inherits:
Jface::Action
  • Object
show all
Defined in:
lib/javamateview/example.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#windowObject

Returns the value of attribute window.



180
181
182
# File 'lib/javamateview/example.rb', line 180

def window
  @window
end

Instance Method Details

#runObject



182
183
184
# File 'lib/javamateview/example.rb', line 182

def run
  @window.mate_text.showInvisibles(!@window.mate_text.showing_invisibles)
end