|
|
Re: How to hide uml tabs in "Properties" view [message #1697590 is a reply to message #1697584] |
Fri, 05 June 2015 08:11 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi,
From an existing workspace, you can hide most properties view from the Papyrus Preferences (Window > Preferences > Property Views). However, this can only disable "configurations", not "tabs" (A configuration can contribute several tabs, and a tab can be contributed by different configurations). Then you can either use a RCP/Oomph setup to deploy these preferences to all users, or use this capability programmatically (See ConfigurationManager#enableContext or #disableContext in oep.views.properties)
This means for example that you can't hide "Profile" without also hiding "UML", because they are both provided by the UML Properties view configuration.
The "Advanced" tab is also a little bit specific since it doesn't rely on the Papyrus Properties View framework, so it can't be hidden
There was work-in-progress for Papyrus Mars to get a finer grained and simpler "substitution" capability in the properties view, but it is not complete yet, so it won't make it into the Mars release (And that's not really something we can change in service releases either, so... Won't be available until next year )
HTH,
Camille
Camille Letavernier
|
|
|
|
Powered by
FUDForum. Page generated in 0.01803 seconds