|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.core.kivi.AbstractTrigger
de.cau.cs.kieler.ksbase.ui.kivi.KSBasETrigger
public class KSBasETrigger
A Trigger that listens to KSBasE transformations.
Nested Class Summary | |
---|---|
static class |
KSBasETrigger.KSBasEState
Contains the state of the KSBasE trigger: The selected EObject after the transformation and its DiagramEditor. |
Constructor Summary | |
---|---|
KSBasETrigger()
|
Method Summary | |
---|---|
void |
register()
Called when the trigger is activated, registers itself where necessary. |
void |
transformationAboutToExecute(Object[] args)
Notifies the listener that a transformation is about to be executed. |
void |
transformationExecuted(Object[] args)
Notifies the listener that a transformation has been executed. |
void |
unregister()
Called when the trigger is deactivated, unregisters itself where necessary. |
Methods inherited from class de.cau.cs.kieler.core.kivi.AbstractTrigger |
---|
isActive, setActive, trigger |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public KSBasETrigger()
Method Detail |
---|
public void register()
AbstractTrigger
register
in interface ITrigger
register
in class AbstractTrigger
public void unregister()
AbstractTrigger
unregister
in interface ITrigger
unregister
in class AbstractTrigger
public void transformationExecuted(Object[] args)
transformationExecuted
in interface ITransformationEventListener
args
- The following array:
0 : The diagram object on which the transformation has been executed.
1 : The currently active editor.public void transformationAboutToExecute(Object[] args)
transformationAboutToExecute
in interface ITransformationEventListener
args
- List of parameters for the listener.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |