de.cau.cs.kieler.ksbase.ui.handler
Class TransformationCommandHandler
java.lang.Object
org.eclipse.core.commands.common.EventManager
org.eclipse.core.commands.AbstractHandler
de.cau.cs.kieler.ksbase.ui.handler.TransformationCommandHandler
- All Implemented Interfaces:
- IHandler, IHandler2
public class TransformationCommandHandler
- extends AbstractHandler
The generic transformation handler used for all UI actions.
- Rating

- (2009-12-15)
Field Summary |
static String |
EDITOR_PARAM
The list of classes an editor has to implement/extend to be valid for this framework. |
static String |
TRANSFORMATION_PARAM
The list of classes a diagram element has to implement/extend to be valid for this framework. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EDITOR_PARAM
public static final String EDITOR_PARAM
- The list of classes an editor has to implement/extend to be valid for this framework.
- See Also:
- Constant Field Values
TRANSFORMATION_PARAM
public static final String TRANSFORMATION_PARAM
- The list of classes a diagram element has to implement/extend to be valid for this framework.
- See Also:
- Constant Field Values
TransformationCommandHandler
public TransformationCommandHandler()
- Creates a new command handler.
execute
public Object execute(ExecutionEvent event)
throws ExecutionException
- Executes a transformation. The editor and transformation settings are given by the extension
point parameters Uses the TransformationUI manager to create and execute the transformation.
- Parameters:
event
- The source event
- Returns:
- Nothing
- Throws:
ExecutionException
- If the execution failed.