diff options
Diffstat (limited to 'plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/diagram/editpolicies/ChildContainerCanonicalEditPolicy.xpt')
-rw-r--r-- | plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/diagram/editpolicies/ChildContainerCanonicalEditPolicy.xpt | 47 |
1 files changed, 0 insertions, 47 deletions
diff --git a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/diagram/editpolicies/ChildContainerCanonicalEditPolicy.xpt b/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/diagram/editpolicies/ChildContainerCanonicalEditPolicy.xpt deleted file mode 100644 index 9fd90f0f419..00000000000 --- a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/diagram/editpolicies/ChildContainerCanonicalEditPolicy.xpt +++ /dev/null @@ -1,47 +0,0 @@ -/****************************************************************************** - * Copyright (c) 2007, 2020 Borland Software Corporation, CEA LIST, Artal and others - * - * 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: - * Alexander Shatalin (Borland) - initial API and implementation - * Artem Tikhomirov moved from xpt::diagram::editpolicies to diagram::editpolicies (API location) - * Aurelien Didier (ARTAL) - aurelien.didier51@gmail.com - Bug 569174 - *****************************************************************************/ - -«IMPORT 'http://www.eclipse.org/papyrus/gmf/2020/GenModel'» - -«DEFINE Main FOR gmfgen::GenChildContainer-» - «EXPAND xpt::Common::copyright FOR getDiagram().editorGen-» -package «getDiagram().editPoliciesPackageName»; - -«EXPAND xpt::Common::generatedClassComment» -public class «canonicalEditPolicyClassName» extends org.eclipse.gmf.runtime.diagram.ui.editpolicies.CanonicalEditPolicy { - «EXPAND impl::diagram::update::CanonicalUpdate::body-» - - «EXPAND refreshSemanticMethod-» - «EXPAND additions-» -} -«ENDDEFINE» - - -«DEFINE refreshSemanticMethod FOR gmfgen::GenChildContainer-» -«EXPAND xpt::Common::generatedMemberComment» -protected void refreshSemantic() { - if (resolveSemanticElement() == null) { - return; - } - «EXPAND CodeStyle::newGenericInstance('createdViews', 'java.util.LinkedList', 'org.eclipse.core.runtime.IAdaptable')»(); - «EXPAND impl::diagram::update::CanonicalUpdate::refreshSemanticChildren('createdViews', getDiagram().editorGen.diagramUpdater)-» - «EXPAND impl::diagram::update::CanonicalUpdate::executeLayoutCommand('createdViews')-» - - makeViewsImmutable(createdViews); -} -«ENDDEFINE» - -«DEFINE additions FOR gmfgen::GenChildContainer»«ENDDEFINE»
\ No newline at end of file |