Class CustomResourceContainerAllocationCompartmentItemSemanticEditPolicy

  • 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 Detail

      • CustomResourceContainerAllocationCompartmentItemSemanticEditPolicy

        public CustomResourceContainerAllocationCompartmentItemSemanticEditPolicy()
    • Method Detail

      • 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