Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Hide weight and guard through CSS
Hide weight and guard through CSS [message #1699029] Fri, 19 June 2015 15:41 Go to next message
Raphael Faudou is currently offline Raphael FaudouFriend
Messages: 105
Registered: July 2009
Senior Member
Is it possible to hide object flow guard and weight by default through a .CSS?
I tried several things without success:
ObjectFlow {MaskLabel:}
ObjectFlow > Guard {visibility:false}

Any suggestion?
Thanks
raphaël
Re: Hide weight and guard through CSS [message #1699031 is a reply to message #1699029] Fri, 19 June 2015 15:51 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 952
Registered: February 2011
Senior Member
Hi Raphaël,

ObjectFlows don't use the MaskManaged protocol. Floatings Labels can be hidden with the rule Label { visible: false; }. You can restrict this rule by using the 'kind' of Label, which is visible in the Manage Connector Labels dialog

So you should use:

ObjectFlow > Label[kind=Guard],
ObjectFlow > Label[kind=Weight]{
    visible: false;
}


Camille Letavernier
Re: Hide weight and guard through CSS [message #1699036 is a reply to message #1699031] Fri, 19 June 2015 16:24 Go to previous message
Raphael Faudou is currently offline Raphael FaudouFriend
Messages: 105
Registered: July 2009
Senior Member
Thanks Camille for your quick and precise answer.
Just tested and it is OK after some refresh.
Really useful for intensive modelling.
Great !
Previous Topic:for Stereotypes missing "Owned attribute" in properties.
Next Topic:How to add a custom EditPart to Sequence Diagram
Goto Forum:
  


Current Time: Thu Mar 28 14:35:59 GMT 2024

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

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

Back to the top