diff options
Diffstat (limited to 'plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/xpt/diagram/commands/ReorientRefLinkCommand.xpt')
-rw-r--r-- | plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/xpt/diagram/commands/ReorientRefLinkCommand.xpt | 49 |
1 files changed, 0 insertions, 49 deletions
diff --git a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/xpt/diagram/commands/ReorientRefLinkCommand.xpt b/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/xpt/diagram/commands/ReorientRefLinkCommand.xpt deleted file mode 100644 index f9aa6c87a93..00000000000 --- a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/xpt/diagram/commands/ReorientRefLinkCommand.xpt +++ /dev/null @@ -1,49 +0,0 @@ -/****************************************************************************** - * Copyright (c) 2007, 2020 Borland Software Corporation, CEA LIST, Artal - * - * All rights reserved. This program and the accompanying materials - * are made available under the terms of the Eclipse Public License 2.0 - * which accompanies this distribution, and is available at - * https://www.eclipse.org/legal/epl-2.0/ - * - * SPDX-License-Identifier: EPL-2.0 - * - * Contributors: - * Dmitry Stadnik (Borland) - initial API and implementation - * Aurelien Didier (ARTAL) - aurelien.didier51@gmail.com - Bug 569174 - *****************************************************************************/ - -«IMPORT 'http://www.eclipse.org/papyrus/gmf/2020/GenModel'» - -«DEFINE ReorientRefLinkCommand FOR gmfgen::GenLink-» -«EXPAND xpt::Common::copyright FOR diagram.editorGen-» -package «diagram.editCommandsPackageName»; - -«EXPAND xpt::Common::generatedClassComment» -public class «reorientCommandClassName» extends org.eclipse.gmf.runtime.emf.type.core.commands.EditElementCommand { - - «EXPAND xpt::Common::generatedMemberComment» - private final int reorientDirection; - - «EXPAND xpt::Common::generatedMemberComment» - private final org.eclipse.emf.ecore.EObject referenceOwner; - - «EXPAND xpt::Common::generatedMemberComment» - private final org.eclipse.emf.ecore.EObject oldEnd; - - «EXPAND xpt::Common::generatedMemberComment» - private final org.eclipse.emf.ecore.EObject newEnd; - - «EXPAND xpt::Common::generatedMemberComment» - public «reorientCommandClassName»(org.eclipse.gmf.runtime.emf.type.core.requests.ReorientReferenceRelationshipRequest request) { - super(request.getLabel(), null, request); - reorientDirection = request.getDirection(); - referenceOwner = request.getReferenceOwner(); - oldEnd = request.getOldRelationshipEnd(); - newEnd = request.getNewRelationshipEnd(); - } - «EXPAND xpt::diagram::commands::ReorientLinkUtils::canReorient(self) FOR modelFacet-» - «EXPAND xpt::diagram::commands::ReorientLinkUtils::reorient FOR modelFacet-» - «EXPAND xpt::diagram::commands::ReorientLinkUtils::accessors-» -} -«ENDDEFINE» |