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