/* * */ package stateAnalysis.diagram.edit.policies; import org.eclipse.gef.commands.Command; import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; /** * @generated */ public class DeploymentDeploymentCatalogsCompartmentItemSemanticEditPolicy extends stateAnalysis.diagram.edit.policies.StateAnalysisBaseItemSemanticEditPolicy { /** * @generated */ public DeploymentDeploymentCatalogsCompartmentItemSemanticEditPolicy() { super( stateAnalysis.diagram.providers.StateAnalysisElementTypes.Deployment_3002); } /** * @generated */ protected Command getCreateCommand(CreateElementRequest req) { if (stateAnalysis.diagram.providers.StateAnalysisElementTypes.DataCollection_3004 == req .getElementType()) { return getGEFWrapper(new stateAnalysis.diagram.edit.commands.DataCollectionCreateCommand( req)); } return super.getCreateCommand(req); } }