Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/toolsmiths/org.eclipse.papyrus.def/xtend/aspects/xpt/providers/ElementInitializers_qvto.xtend')
-rw-r--r--plugins/toolsmiths/org.eclipse.papyrus.def/xtend/aspects/xpt/providers/ElementInitializers_qvto.xtend39
1 files changed, 0 insertions, 39 deletions
diff --git a/plugins/toolsmiths/org.eclipse.papyrus.def/xtend/aspects/xpt/providers/ElementInitializers_qvto.xtend b/plugins/toolsmiths/org.eclipse.papyrus.def/xtend/aspects/xpt/providers/ElementInitializers_qvto.xtend
deleted file mode 100644
index ddddefa956c..00000000000
--- a/plugins/toolsmiths/org.eclipse.papyrus.def/xtend/aspects/xpt/providers/ElementInitializers_qvto.xtend
+++ /dev/null
@@ -1,39 +0,0 @@
-/*****************************************************************************
- * Copyright (c) 2007, 2014 Borland Software Corporation, CEA, 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:
- * Dmitry Stadnik (Borland) - initial API and implementation
- * Artem Tikhomirov (Borland) - refactored javaInitilizers not to use methods from GMFGen model
- * [221347] Got rid of generated interfaces
- * (IObjectInitializer, IFeatureInitializer) and implementation thereof
- * Michael Golubev (Montages) - #386838 - migrate to Xtend2
- * Christian W. Damus (CEA) - bug 440263
- *
- *****************************************************************************/
-package aspects.xpt.providers
-
-import aspects.xpt.Common
-import com.google.inject.Inject
-import com.google.inject.Singleton
-import org.eclipse.papyrus.gmf.codegen.gmfgen.GenCommonBase
-import org.eclipse.papyrus.gmf.codegen.gmfgen.GenFeatureValueSpec
-
-@Singleton class ElementInitializers_qvto extends xpt.providers.ElementInitializers_qvto {
- @Inject extension Common
-
- override def String javaMethodName(GenCommonBase de, GenFeatureValueSpec valueSpec) {
- var middlePart = ''
- if (valueSpec.featureSeqInitializer.creatingInitializer != null) {
- middlePart = valueSpec.featureSeqInitializer.creatingInitializer.feature.ecoreFeature.name + '_'
- }
- return valueSpec.feature.ecoreFeature.name + '_' + middlePart + de.stringUniqueIdentifier
- }
-
-}

Back to the top