diff options
Diffstat (limited to 'plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/parsers/ParsersUtil.xtend')
-rw-r--r-- | plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/parsers/ParsersUtil.xtend | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/parsers/ParsersUtil.xtend b/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/parsers/ParsersUtil.xtend index 79c1c765f79..21d2d33a0ab 100644 --- a/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/parsers/ParsersUtil.xtend +++ b/plugins/toolsmiths/gmf-tooling/org.eclipse.papyrus.gmf.codegen.xtend/xtend/parsers/ParsersUtil.xtend @@ -1,16 +1,17 @@ /******************************************************************************* * Copyright (c) 2013, 2020 Montages A.G., 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: * Svyatoslav Kovalsky (Montages) - initial API and implementation * Aurelien Didier (ARTAL) - aurelien.didier51@gmail.com - Bug 569174 + * Etienne Allogo (ARTAL) - etienne.allogo@artal.fr - Bug 569174 : L1.2 clean up parsers *****************************************************************************/ package parsers @@ -22,9 +23,9 @@ import org.eclipse.papyrus.gmf.codegen.gmfgen.GenParsers * [MG] FIXME: revisit, he same problem as with the QualifiedClassNameProvider */ @com.google.inject.Singleton class ParsersUtil { - + @Inject extension Common_qvto; - + def classNameCustomParser(org.eclipse.papyrus.gmf.codegen.gmfgen.CustomParser it) '''«lastSegment(it.qualifiedName)»''' def packageNameCustomParser(org.eclipse.papyrus.gmf.codegen.gmfgen.CustomParser it) '''«withoutLastSegment(it.qualifiedName)»''' @@ -36,5 +37,5 @@ import org.eclipse.papyrus.gmf.codegen.gmfgen.GenParsers def classNameGenParsers(GenParsers it) '''«className»''' def packageNameGenParsers(GenParsers it) '''«packageName»''' - + }
\ No newline at end of file |