Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Hide the sterotype "part" in an IBD
Hide the sterotype "part" in an IBD [message #1785379] Fri, 13 April 2018 09:10 Go to next message
Jules Franc is currently offline Jules FrancFriend
Messages: 5
Registered: May 2016
Junior Member
Hello,

The blocks in my IBD look like that :
https://reho.st/self/b58a8dda851f05eab528c55cd3cace868e26b2ae.png

I would like to hide the stereotype "<<part>>".
I tried to add this to my CSS :
Label[type=StereotypeLabel] {
	visible:false;
}


But it didn't work.
Do you knowhow I could do this ?

Thank you
Re: Hide the sterotype "part" in an IBD [message #1785382 is a reply to message #1785379] Fri, 13 April 2018 09:32 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 887
Registered: February 2011
Senior Member
Hi Jules,

The rule is correct and works for Stereotypes, but in SysML, part is not a stereotype: it's just a specific kind of Property in a Block (With aggregation=composite, IIRC).

You may try this instead:

Property {
    displayTags: false;
}


(Although I'm not sure how the <<part>> label has been implemented, so this may or may not work).

HTH,
Camille


Camille Letavernier
Re: Hide the sterotype "part" in an IBD [message #1785389 is a reply to message #1785382] Fri, 13 April 2018 11:57 Go to previous message
Jules Franc is currently offline Jules FrancFriend
Messages: 5
Registered: May 2016
Junior Member
It works like a charm,
Thank you very much
Previous Topic:Usage relationship on sysML palette for IBD?
Next Topic:Getting a CMOF XMI file into Papyrus
Goto Forum:
  


Current Time: Wed Nov 14 09:23:34 GMT 2018

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

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

Back to the top