de.cau.cs.kieler.ksbase.viewmanagement.triggers
Class KSBasETrigger

java.lang.Object
  extended by de.cau.cs.kieler.viewmanagement.ATrigger
      extended by de.cau.cs.kieler.ksbase.viewmanagement.triggers.KSBasETrigger
All Implemented Interfaces:
ITransformationEventListener

public class KSBasETrigger
extends ATrigger
implements ITransformationEventListener

A viewmanagement trigger which is called when a transformation command has been executed.

Rating proposed yellow
(2010-03-22)

Constructor Summary
KSBasETrigger()
          Creates a new KSbasETrigger and adds itself to the list of postTransformationListeners in the TransformationUIManager.
 
Method Summary
 void transformationAboutToExecute(Object[] args)
          The pre-transformation event will be ignore here.
 void transformationExecuted(Object[] args)
          Called when a transformation is executed.
 void wrapup()
          Unregisters from the postTransformationListener.
 
Methods inherited from class de.cau.cs.kieler.viewmanagement.ATrigger
addListener, getListenerQuantity, notifyTrigger, removeListener, translateToEObject, translateToURI
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

KSBasETrigger

public KSBasETrigger()
Creates a new KSbasETrigger and adds itself to the list of postTransformationListeners in the TransformationUIManager.

Method Detail

wrapup

public void wrapup()
Unregisters from the postTransformationListener.

Overrides:
wrapup in class ATrigger

transformationExecuted

public void transformationExecuted(Object[] args)
Called when a transformation is executed.

Specified by:
transformationExecuted in interface ITransformationEventListener
Parameters:
args - The arguments for this event. Needs be the Array : [EObject,EditorPart]

transformationAboutToExecute

public void transformationAboutToExecute(Object[] args)
The pre-transformation event will be ignore here.

Specified by:
transformationAboutToExecute in interface ITransformationEventListener
Parameters:
args - Parameters.