Need Help: what is the best approach to remove some UML elements from palette/menus? [message #1790043] |
Mon, 04 June 2018 02:43  |
Eclipse User |
|
|
|
Hello
I would like to use Papyrus Oxygen for teaching. I want to restrict what students can see in the Palette and context menu (right click on model explorer) to reduce clutter/confusion/anxiety about UML.
For example I need students to see only logical level UML elements (e.g. class, attribute, operation, association...) but not physical level elements (e.g expression, enumeration, primitive type etc.).
I have not been able to find a clear / consistent explanation on how to do this in Papyrus documentation. The "About UML profiling, version 1.0.0" mentions the isStrict function but in the same sentence says that it's not implemented. Otherwise seems like I may need to recreate the whole UML standard profile from scratch minus the elements I want to omit. The document is dated 2011.
There is a menu to choose perspectives and another to choose viewpoints; seems like they can be customized but have not found out how.
The Palette customization works in Oxygen, but I have found no easy (or clear) way to save it so it can be imported by students; and this would still leave unwanted elements in context menu (right click).
I found Papyrus for education and Papyrus for information modeling which have the same idea (show only a simpler subset of UML elements), but neither supports all diagrams I need.
If anyone can offer guidance and a clear direction on how to hide unwanted elements from Papyrus I would be most grateful! Thanks!!!!
Richard
[Updated on: Mon, 04 June 2018 02:44] by Moderator
|
|
|
|
|
|
|
Re: Need Help: what is the best approach to remove some UML elements from palette/menus? [message #1790290 is a reply to message #1790170] |
Thu, 07 June 2018 21:01  |
Eclipse User |
|
|
|
Thanks Benoit but my team does not have Eclipse skills.
The good news is that Palette customization works in Oxygen (we never could get it to work in Neon, so we'll go with that for now.
Side note: for non-teaching purpose (work) I use Sparx Enterprise Architect which provides this functionality via "MDG" technology - we made a logical level UML profile and saved it as MDG; the tool lets you disable the standard UML profile and enable your custom profile, then all palettes and context menus are consistent with the custom profile. Maybe a functionality for future releases?
|
|
|
Powered by
FUDForum. Page generated in 0.03885 seconds