package org.eclipse.uml2.diagram.clazz.edit.policies; import org.eclipse.gef.commands.Command; import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; import org.eclipse.uml2.diagram.clazz.edit.commands.Property6CreateCommand; import org.eclipse.uml2.diagram.clazz.providers.UMLElementTypes; /** * @generated */ public class InterfaceAttributes2ItemSemanticEditPolicy extends UMLBaseItemSemanticEditPolicy { /** * @generated */ public InterfaceAttributes2ItemSemanticEditPolicy() { super(UMLElementTypes.Interface_3042); } /** * @generated */ protected Command getCreateCommand(CreateElementRequest req) { if (UMLElementTypes.Property_3028 == req.getElementType()) { return getGEFWrapper(new Property6CreateCommand(req)); } return super.getCreateCommand(req); } }