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