Class: MateExample::SetHTML

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.



244
245
246
# File 'lib/javamateview/example.rb', line 244

def window
  @window
end

Instance Method Details

#runObject



246
247
248
# File 'lib/javamateview/example.rb', line 246

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