/* * (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 EntityEntityAttributesCompartment2ItemSemanticEditPolicy extends de.uni_mannheim.informatik.swt.models.plm.diagram.edit.policies.PLMBaseItemSemanticEditPolicy { /** * @generated */ public EntityEntityAttributesCompartment2ItemSemanticEditPolicy() { super( de.uni_mannheim.informatik.swt.models.plm.diagram.providers.PLMElementTypes.Entity_3069); } /** * @generated */ protected Command getCreateCommand(CreateElementRequest req) { if (de.uni_mannheim.informatik.swt.models.plm.diagram.providers.PLMElementTypes.Attribute_3070 == req .getElementType()) { return getGEFWrapper(new de.uni_mannheim.informatik.swt.models.plm.diagram.edit.commands.Attribute2CreateCommand( req)); } return super.getCreateCommand(req); } }