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