Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristian W. Damus2015-02-23 18:06:10 +0000
committerChristian W. Damus2015-02-24 01:51:38 +0000
commitd1f5a0038e41e599f8cebfb37b029cc65de0c65a (patch)
treef2b9f1320a3d045df766574475d7d6c74383e5ed /plugins/developer
parent13385df1b89017edac6880f82d5487be5cde60c0 (diff)
downloadorg.eclipse.papyrus-d1f5a0038e41e599f8cebfb37b029cc65de0c65a.tar.gz
org.eclipse.papyrus-d1f5a0038e41e599f8cebfb37b029cc65de0c65a.tar.xz
org.eclipse.papyrus-d1f5a0038e41e599f8cebfb37b029cc65de0c65a.zip
Bug 451230: Modeling assistants customization for profiles
https://bugs.eclipse.org/bugs/show_bug.cgi?id=451230 Re-generate the Modeling Assistants model with latest UML2 templates for subset/superset features of EDataType type (bug 459723).
Diffstat (limited to 'plugins/developer')
-rw-r--r--plugins/developer/org.eclipse.papyrus.dev.assistants.codegen/src/org/eclipse/papyrus/dev/assistants/codegen/generator/ModelingAssistantProviderRule.xtend4
1 files changed, 1 insertions, 3 deletions
diff --git a/plugins/developer/org.eclipse.papyrus.dev.assistants.codegen/src/org/eclipse/papyrus/dev/assistants/codegen/generator/ModelingAssistantProviderRule.xtend b/plugins/developer/org.eclipse.papyrus.dev.assistants.codegen/src/org/eclipse/papyrus/dev/assistants/codegen/generator/ModelingAssistantProviderRule.xtend
index d6e4ef71e3e..bbe49c3b7cc 100644
--- a/plugins/developer/org.eclipse.papyrus.dev.assistants.codegen/src/org/eclipse/papyrus/dev/assistants/codegen/generator/ModelingAssistantProviderRule.xtend
+++ b/plugins/developer/org.eclipse.papyrus.dev.assistants.codegen/src/org/eclipse/papyrus/dev/assistants/codegen/generator/ModelingAssistantProviderRule.xtend
@@ -32,14 +32,13 @@ class ModelingAssistantProviderRule extends org.eclipse.papyrus.uml.profile.assi
@Inject extension UMLElementTypes
def create createModelingAssistantProvider toModelingAssistantProvider(ElementTypeSetConfiguration elementTypeSet) {
-
name = elementTypeSet.name
elementTypeSet.elementTypeConfigurations.forEach[ type |
- elementTypeIDs.add(type.identifier)
if (!type.relationship) {
// Popup assistants to create non-relationships
+ elementTypeIDs.add(type.identifier)
popupAssistants.add(type.toPopupAssistant)
} else {
relationshipTypeIDs.add(type.identifier)
@@ -52,7 +51,6 @@ class ModelingAssistantProviderRule extends org.eclipse.papyrus.uml.profile.assi
name = editor.modelID
elementTypeIDs.addAll(editor.diagram.validNodes.map[elementType?.uniqueIdentifier].filterNull)
relationshipTypeIDs.addAll(editor.diagram.validLinks.map[elementType?.uniqueIdentifier].filterNull)
- elementTypeIDs.addAll(relationshipTypeIDs)
popupAssistants.addAll(editor.diagram.validNodes.map[toPopupAssistant])
connectionAssistants.addAll(editor.diagram.validLinks.map[toConnectionAssistant])

Back to the top