|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.mtl.engine.event.MTLTextGenerationEvent
public class MTLTextGenerationEvent
This event will be fired when text is generated. It will hold references to the generated text, the object which triggered the generation and the Block from which it was generated.
| Constructor Summary | |
|---|---|
MTLTextGenerationEvent(java.lang.String generatedText,
Block block,
org.eclipse.emf.ecore.EObject source)
Instantiates a text generation event. |
|
| Method Summary | |
|---|---|
Block |
getBlock()
returns the originating block. |
org.eclipse.emf.ecore.EObject |
getSource()
Returns the object which triggered generation of this text. |
java.lang.String |
getText()
Returns the generated text. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MTLTextGenerationEvent(java.lang.String generatedText,
Block block,
org.eclipse.emf.ecore.EObject source)
generatedText - Text which generation triggered this event.block - The block from which generatedText has been generated.source - EObject which triggered the generation.| Method Detail |
|---|
public java.lang.String getText()
public Block getBlock()
public org.eclipse.emf.ecore.EObject getSource()
|
Copyright 2008 Obeo All Rights Reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||