|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.cau.cs.kieler.ksbase.ui.TransformationUIManager
public final class TransformationUIManager
Transformation-UI manager. Handles creation and execution of commands and notify of transformationEvent listeners
Field Summary | |
---|---|
static TransformationUIManager |
INSTANCE
Transformation-UI instance. |
Method Summary | |
---|---|
void |
addTransformationListener(ITransformationEventListener listener)
Adds a listener to the post-transformation transformation listener queue. |
void |
createAndExecuteTransformationCommand(EditorTransformationSettings editorSettings,
KSBasETransformation transformation,
List<EObject> selection)
Creates and executes a transformation command by creating a request and execute the resulting command on the diagram command stack. |
LinkedList<ITransformationEventListener> |
getTransformationEventListeners()
Getter for the transformationEventListeners. |
void |
removeTransformationListener(ITransformationEventListener listener)
Removes a listener from the post-transformation listener queue. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final TransformationUIManager INSTANCE
Method Detail |
---|
public void addTransformationListener(ITransformationEventListener listener)
listener
- The listener to addpublic void removeTransformationListener(ITransformationEventListener listener)
listener
- The listener to remove.public LinkedList<ITransformationEventListener> getTransformationEventListeners()
public void createAndExecuteTransformationCommand(EditorTransformationSettings editorSettings, KSBasETransformation transformation, List<EObject> selection)
editorSettings
- The editor for which this transformation istransformation
- The transformation that should be executedselection
- A selection containing the edit parts that should be used.
This may also be null, which indicates that the elements are
selected automatically
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |