Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    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 07:58 Go to next message
Thanh Liem Phan is currently offline Thanh Liem PhanFriend
Messages: 28
Registered: January 2015
Junior Member
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 08:05 Go to previous messageGo to next message
Mickael ADAM is currently offline Mickael ADAMFriend
Messages: 31
Registered: February 2014
Member
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 08:11 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
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 Sad )

HTH,
Camille


Camille Letavernier
Re: How to hide uml tabs in "Properties" view [message #1697593 is a reply to message #1697590] Fri, 05 June 2015 08:57 Go to previous message
Thanh Liem Phan is currently offline Thanh Liem PhanFriend
Messages: 28
Registered: January 2015
Junior Member
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: Thu Apr 18 07:25:38 GMT 2024

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

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

Back to the top