Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/xpt/propsheet/PropertySection.xpt')
-rw-r--r--plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/xpt/propsheet/PropertySection.xpt70
1 files changed, 0 insertions, 70 deletions
diff --git a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/xpt/propsheet/PropertySection.xpt b/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/xpt/propsheet/PropertySection.xpt
deleted file mode 100644
index 476512c0211..00000000000
--- a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen/templates/xpt/propsheet/PropertySection.xpt
+++ /dev/null
@@ -1,70 +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:
- * Artem Tikhomirov (Borland) - initial API and implementation
- * Michael Golubev (Montages) - [407242] - common code extracted to gmft.runtime
- * Aurelien Didier (ARTAL) - aurelien.didier51@gmail.com - Bug 569174
- *****************************************************************************/
-«IMPORT 'http://www.eclipse.org/papyrus/gmf/2020/GenModel'»
-
-«DEFINE Class FOR gmfgen::GenCustomPropertyTab»
-«EXPAND xpt::Common::copyright FOR sheet.editorGen-»
-package «sheet.packageName»;
-
-«EXPAND xpt::Common::generatedClassComment»
-public class «className» extends «EXPAND extendsList» «EXPAND implementsClause»{
-
-«EXPAND getPropertySourceMethod»
-«IF sheet.readOnly»
-«EXPAND createReadonlyControlsMethod»
-«ENDIF»
-«EXPAND getPropertySourceProviderMethod»
-«EXPAND transfromSelectionMethod»
-«EXPAND setInputMethod»
-«EXPAND getAdapterFactoryMethod»
-
-«EXPAND additions»
-}
-«ENDDEFINE»
-
-«DEFINE extendsList FOR gmfgen::GenCustomPropertyTab»org.eclipse.gmf.tooling.runtime.sheet.DefaultPropertySection«ENDDEFINE»
-«DEFINE implementsClause FOR gmfgen::GenCustomPropertyTab»implements org.eclipse.ui.views.properties.IPropertySourceProvider«ENDDEFINE»
-
-«DEFINE createReadonlyControlsMethod FOR gmfgen::GenCustomPropertyTab»
- «EXPAND xpt::Common::generatedMemberComment»
- public void createControls(org.eclipse.swt.widgets.Composite parent, org.eclipse.ui.views.properties.tabbed.TabbedPropertySheetPage aTabbedPropertySheetPage) {
- super.createControls(parent, aTabbedPropertySheetPage);
- forcePageReadOnly();
- }
-«ENDDEFINE»
-
-«DEFINE transfromSelectionMethod FOR gmfgen::GenCustomPropertyTab-»
-«IF 'domain' = iD /*perhaps, override setInput should obey same condition?*/-»
- «EXPAND xpt::Common::generatedMemberComment('Modify/unwrap selection.')»
- «EXPAND CodeStyle::override FOR self.sheet.editorGen.diagram-»
- protected Object transformSelection(Object selected) {
- «EXPAND transfromSelectionMethodBodyDefault-»
- return selected;
- }
-«ENDIF-»
-«ENDDEFINE»
-
-«DEFINE transfromSelectionMethodBodyDefault FOR gmfgen::GenCustomPropertyTab-»
- selected = /*super.*/transformSelectionToDomain(selected);
-«ENDDEFINE»
-
-«REM»DEFINE's below are still here for ASPECT's compatibility only, all the code for them is moved to superclass«ENDREM»
-«DEFINE getPropertySourceMethod FOR gmfgen::GenCustomPropertyTab»«ENDDEFINE»
-«DEFINE getPropertySourceProviderMethod FOR gmfgen::GenCustomPropertyTab»«ENDDEFINE»
-«DEFINE setInputMethod FOR gmfgen::GenCustomPropertyTab»«ENDDEFINE»
-«DEFINE getAdapterFactoryMethod FOR gmfgen::GenCustomPropertyTab»«ENDDEFINE»
-
-«DEFINE additions FOR gmfgen::GenCustomPropertyTab»«ENDDEFINE» \ No newline at end of file

Back to the top