Class: MateExample::SetBlockSelection

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.



196
197
198
# File 'lib/javamateview/example.rb', line 196

def window
  @window
end

Instance Method Details

#runObject



198
199
200
# File 'lib/javamateview/example.rb', line 198

def run
  @window.mate_text.get_text_widget.set_block_selection(true)
end