/*
* (c) 2011 - 2013 University of Mannheim: Software Engineering Group
*/
package de.uni_mannheim.informatik.swt.models.plm.diagram.edit.policies;
import org.eclipse.gef.commands.Command;
import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest;
/**
* @generated
*/
public class OntologyOntologyEnumerationCompartmentItemSemanticEditPolicy
extends
de.uni_mannheim.informatik.swt.models.plm.diagram.edit.policies.PLMBaseItemSemanticEditPolicy {
/**
* @generated
*/
public OntologyOntologyEnumerationCompartmentItemSemanticEditPolicy() {
super(
de.uni_mannheim.informatik.swt.models.plm.diagram.providers.PLMElementTypes.Ontology_2003);
}
/**
* @generated
*/
protected Command getCreateCommand(CreateElementRequest req) {
if (de.uni_mannheim.informatik.swt.models.plm.diagram.providers.PLMElementTypes.Enumeration_3095 == req
.getElementType()) {
return getGEFWrapper(new de.uni_mannheim.informatik.swt.models.plm.diagram.edit.commands.EnumerationCreateCommand(
req));
}
return super.getCreateCommand(req);
}
}