de.cau.cs.kieler.ksbase.ui.handler
Class TransformationEditPolicyProvider
java.lang.Object
org.eclipse.gmf.runtime.common.core.service.AbstractProvider
de.cau.cs.kieler.ksbase.ui.handler.TransformationEditPolicyProvider
- All Implemented Interfaces:
- IProvider, org.eclipse.gmf.runtime.diagram.ui.services.editpolicy.IEditPolicyProvider
public class TransformationEditPolicyProvider
- extends AbstractProvider
- implements org.eclipse.gmf.runtime.diagram.ui.services.editpolicy.IEditPolicyProvider
Provides an edit policy to create and execute KSBasE commands.
- Rating

- (2009-12-15)
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EXECUTE_TRANSFORMATION_ROLE
public static final String EXECUTE_TRANSFORMATION_ROLE
- the key used to install an execute transformation edit policy.
- See Also:
- Constant Field Values
KSBASE_POPUPBAR
public static final String KSBASE_POPUPBAR
- the key used to install an KSBasE popup bar edit policy.
- See Also:
- Constant Field Values
TransformationEditPolicyProvider
public TransformationEditPolicyProvider()
createEditPolicies
public void createEditPolicies(EditPart editPart)
- Creates the edit policies.
- Specified by:
createEditPolicies
in interface org.eclipse.gmf.runtime.diagram.ui.services.editpolicy.IEditPolicyProvider
- Parameters:
editPart
- The editPart to register this policy with.
provides
public boolean provides(IOperation operation)
- Checks if this edit policy provides an operation.
- Specified by:
provides
in interface IProvider
- Parameters:
operation
- The operation to check.
- Returns:
- True if this edit policy provides the given operation