Class CustomResourceContainerAllocationCompartmentItemSemanticEditPolicy

java.lang.Object
org.eclipse.gef.editpolicies.AbstractEditPolicy
org.eclipse.gmf.runtime.diagram.ui.editpolicies.SemanticEditPolicy
All Implemented Interfaces:
org.eclipse.gef.EditPolicy, org.eclipse.gef.RequestConstants

public class CustomResourceContainerAllocationCompartmentItemSemanticEditPolicy extends ResourceContainerAllocationCompartmentItemSemanticEditPolicy
A custom resource container allocation compartment item semantic EditPolicy.
  • Constructor Details

    • CustomResourceContainerAllocationCompartmentItemSemanticEditPolicy

      public CustomResourceContainerAllocationCompartmentItemSemanticEditPolicy()
  • Method Details

    • getCreateCommand

      protected org.eclipse.gef.commands.Command getCreateCommand(org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest req)
      Gets the CreateCommand. FIXME: This custom edit policy is never registered and thus not called! Thus, original "@generated not" is still required.
      Overrides:
      getCreateCommand in class ResourceContainerAllocationCompartmentItemSemanticEditPolicy
      Parameters:
      req - a CreateElementRequest
      Returns:
      the CreateCommand