Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenoit Maggi2018-03-26 11:20:33 +0000
committerBenoit Maggi2018-03-26 11:20:33 +0000
commitc9b1e02d8488a9efa60d0b6b2ad49d6069490309 (patch)
tree78083bbbfc60c8fc48d315e920786431fc12623b /plugins/toolsmiths/assistants
parentce92c6b2098730f35e6361316a2d23ad3d1d74b0 (diff)
downloadorg.eclipse.papyrus-c9b1e02d8488a9efa60d0b6b2ad49d6069490309.tar.gz
org.eclipse.papyrus-c9b1e02d8488a9efa60d0b6b2ad49d6069490309.tar.xz
org.eclipse.papyrus-c9b1e02d8488a9efa60d0b6b2ad49d6069490309.zip
Bug 532709 - Generated elementtypeset should have an xmi:id
- restore old version for applystereotype ids - add some Automatic-Module-Name for java9 compatibility Change-Id: Ie50c229fa52e0256c3e208ed84cd8cef82127a8e Signed-off-by: Benoit Maggi <benoit.maggi@cea.fr>
Diffstat (limited to 'plugins/toolsmiths/assistants')
-rw-r--r--plugins/toolsmiths/assistants/org.eclipse.papyrus.uml.profile.types.generator/src/org/eclipse/papyrus/uml/profile/types/generator/ApplyStereotypeAdviceRule.xtend3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/toolsmiths/assistants/org.eclipse.papyrus.uml.profile.types.generator/src/org/eclipse/papyrus/uml/profile/types/generator/ApplyStereotypeAdviceRule.xtend b/plugins/toolsmiths/assistants/org.eclipse.papyrus.uml.profile.types.generator/src/org/eclipse/papyrus/uml/profile/types/generator/ApplyStereotypeAdviceRule.xtend
index 42a000dc237..dc9a555e5db 100644
--- a/plugins/toolsmiths/assistants/org.eclipse.papyrus.uml.profile.types.generator/src/org/eclipse/papyrus/uml/profile/types/generator/ApplyStereotypeAdviceRule.xtend
+++ b/plugins/toolsmiths/assistants/org.eclipse.papyrus.uml.profile.types.generator/src/org/eclipse/papyrus/uml/profile/types/generator/ApplyStereotypeAdviceRule.xtend
@@ -18,7 +18,6 @@ import javax.inject.Singleton
import org.eclipse.papyrus.infra.types.ElementTypeConfiguration
import org.eclipse.papyrus.uml.types.core.advices.applystereotype.ApplyStereotypeAdviceConfiguration
import org.eclipse.papyrus.uml.types.core.advices.applystereotype.ApplyStereotypeAdviceFactory
-import org.eclipse.papyrus.uml.types.core.advices.applystereotype.ApplyStereotypeAdvicePackage
import org.eclipse.uml2.uml.Stereotype
/**
@@ -35,7 +34,7 @@ class ApplyStereotypeAdviceRule {
def create createApplyStereotypeAdviceConfiguration toAdviceConfiguration(Stereotype umlStereotype,
ImpliedExtension umlExtension, ElementTypeConfiguration supertype) {
- identifier = umlStereotype.name.toFirstLower.qualified + supertype.hintSuffix +"."+ ApplyStereotypeAdvicePackage.eNAME;
+ identifier = umlStereotype.name.toFirstLower.qualified + supertype.hintSuffix;
stereotypesToApply.add(umlStereotype.toStereotypeToApply(supertype))
target = umlExtension.toElementType(supertype)
// make file more readable

Back to the top