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/uml
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/uml')
-rw-r--r--plugins/uml/assistants/org.eclipse.papyrus.uml.profile.assistants.generator/src/org/eclipse/papyrus/uml/profile/assistants/generator/ModelingAssistantProviderRule.xtend2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.assistants.generator/src/org/eclipse/papyrus/uml/profile/assistants/generator/ModelingAssistantProviderRule.xtend b/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.assistants.generator/src/org/eclipse/papyrus/uml/profile/assistants/generator/ModelingAssistantProviderRule.xtend
index 4cc780fb28f..e7db611a1d1 100644
--- a/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.assistants.generator/src/org/eclipse/papyrus/uml/profile/assistants/generator/ModelingAssistantProviderRule.xtend
+++ b/plugins/uml/assistants/org.eclipse.papyrus.uml.profile.assistants.generator/src/org/eclipse/papyrus/uml/profile/assistants/generator/ModelingAssistantProviderRule.xtend
@@ -46,13 +46,13 @@ class ModelingAssistantProviderRule {
umlProfile.allExtensions.forEach [ ext |
// Add the diagram-specific element types for our profile
var profileElementTypes = ext.metaclass.diagramSpecificElementTypes.map[ext.toElementTypeID(it)]
- elementTypeIDs.addAll(profileElementTypes)
// And filters for the same, which the user may employ in edits of the model
profileElementTypes.forEach[toElementTypeFilter(umlProfile)]
if (!ext.metaclass.EClass.isRelationship) {
// Popup assistants to create non-relationships
+ elementTypeIDs.addAll(profileElementTypes)
popupAssistants.addAll(ext.metaclass.diagramSpecificElementTypes.map[ext.toPopupAssistant(it)])
} else {
// Connection assistants to create relationships

Back to the top