public class RunTransformationEventManager
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
boolean |
addListener(IRunTransformationListener listener)
Adds a listener to the listener list.
|
static RunTransformationEventManager |
getInstance()
Returns the singleton event manager.
|
void |
notifyOfEnd(ITransformContext context,
org.eclipse.core.runtime.IStatus status)
Notifies listeners that a transformation has completed.
|
void |
notifyOfStart(ITransformContext context)
Notifies listeners that a transformation is about to start.
|
boolean |
removeListener(IRunTransformationListener listener)
Removes a listener from the listener list.
|
public static RunTransformationEventManager getInstance()
public boolean addListener(IRunTransformationListener listener)
listener
- The listener to add to the listener list.public boolean removeListener(IRunTransformationListener listener)
listener
- The listener to remove from the listener list.public void notifyOfStart(ITransformContext context)
context
- The transformation context that will be used to run the
transformation.public void notifyOfEnd(ITransformContext context, org.eclipse.core.runtime.IStatus status)
context
- The transformation context that was used to run the
transformation.status
- Specifies if the transformation ran successfully or if it
failed.