/***************************************************************************** * Copyright (c) 2009 CEA LIST. * * * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Patrick Tessier (CEA LIST) Patrick.tessier@cea.fr - Initial API and implementation * Vincent Lorenzo (CEA LIST) vincent.lorenzo@cea.fr - Adapted code from the class diagram to the profile diagram *****************************************************************************/ package org.eclipse.papyrus.uml.diagram.profile.custom.policies.itemsemantic; import org.eclipse.gef.commands.Command; import org.eclipse.gmf.runtime.emf.type.core.requests.CreateRelationshipRequest; import org.eclipse.papyrus.uml.diagram.profile.edit.policies.GeneralizationItemSemanticEditPolicy; /** * this a specialization to manage creation of GeneralizationSet */ public class CustomGeneralizationItemSemanticEditPolicy extends GeneralizationItemSemanticEditPolicy { /** * @generated */ protected Command getCompleteCreateRelationshipCommand(CreateRelationshipRequest req) { return super.getCompleteCreateRelationshipCommand(req); } /** * @generated */ protected Command getStartCreateRelationshipCommand(CreateRelationshipRequest req) { return super.getStartCreateRelationshipCommand(req); } }