Class: MateExample::ReplaceContents2
- Inherits:
-
Jface::Action
- Object
- Jface::Action
- MateExample::ReplaceContents2
- 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.
287 288 289 |
# File 'lib/javamateview/example.rb', line 287 def window @window end |
Instance Method Details
#run ⇒ Object
289 290 291 |
# File 'lib/javamateview/example.rb', line 289 def run @window.mate_text.getMateDocument.set(source*50) end |
#source ⇒ Object
293 294 295 296 297 298 299 300 301 302 303 304 |
# File 'lib/javamateview/example.rb', line 293 def source foo=<<-HTML <div class="nav"> <ul> <li>Foo</li> <li>Bar</li> <li>Baz</li> </ul> </div> HTML end |