Class: MateExample::SetRuby

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.



236
237
238
# File 'lib/javamateview/example.rb', line 236

def window
  @window
end

Instance Method Details

#runObject



238
239
240
# File 'lib/javamateview/example.rb', line 238

def run
  @window.mate_text.set_grammar_by_name("Ruby")
end