Skip to main content



      Home
Home » Modeling » Papyrus » How to hide uml tabs in "Properties" view
How to hide uml tabs in "Properties" view [message #1697584] Fri, 05 June 2015 03:58 Go to next message
Eclipse UserFriend
Hi all,

I want to hide all the tabs such as : Profile, Style, Appearance, Rulers and Grid, Advanced in the "Properties" view (cf. the figure below).
index.php/fa/22093/0/

Is that possible in Papyrus? If yes, how could I do it.

Thanks for your help.
PTL.
Re: How to hide uml tabs in "Properties" view [message #1697587 is a reply to message #1697584] Fri, 05 June 2015 04:05 Go to previous messageGo to next message
Eclipse UserFriend
hi,

for some of these tabs you can hide them on Windosw>Preferences > Papyrus > property views.

HTH.

Mickaël
Re: How to hide uml tabs in "Properties" view [message #1697590 is a reply to message #1697584] Fri, 05 June 2015 04:11 Go to previous messageGo to next message
Eclipse UserFriend
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 Sad )

HTH,
Camille
Re: How to hide uml tabs in "Properties" view [message #1697593 is a reply to message #1697590] Fri, 05 June 2015 04:57 Go to previous message
Eclipse UserFriend
Hi,
I mean how to do this programmatically.
So (ConfigurationManager#enableContext or #disableContext in oep.views.properties) is a good point to start.
Thanks Mickael & Camille.
Previous Topic:How to make Papyrus Development Environments
Next Topic:Keeping CSS theme when copying models
Goto Forum:
  


Current Time: Wed Jul 23 05:12:08 EDT 2025

Powered by FUDForum. Page generated in 0.04321 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top