Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » filter->show/hide compartments
filter->show/hide compartments [message #1805573] Wed, 17 April 2019 14:23 Go to next message
nimo mayr is currently offline nimo mayrFriend
Messages: 13
Registered: April 2019
Junior Member
I can hide the compartment "nested classifiers" of a class-diagram by using "filter->show/hide compartments".

However, I want to hide "nested classifiers" by default for all classes. How can I do that?
Re: filter->show/hide compartments [message #1805623 is a reply to message #1805573] Fri, 19 April 2019 06:42 Go to previous messageGo to next message
Camille Letavernier is currently offline Camille LetavernierFriend
Messages: 913
Registered: February 2011
Senior Member
Hi,

You can add the following Rule to a *.css file, and then attach this CSS file to your Project, Model or Diagram:

Class > Compartment[kind=nestedclassifiers]{
	visible: false;
}


The CSS file can be applied to a Diagram with a simple Drag & Drop of the file on the Diagram. You can also use the Project Properties or the Diagram's style tab to add stylesheets for the entire Project or Model

HTH,
Camille


Camille Letavernier
Re: filter->show/hide compartments [message #1805631 is a reply to message #1805623] Fri, 19 April 2019 07:54 Go to previous message
nimo mayr is currently offline nimo mayrFriend
Messages: 13
Registered: April 2019
Junior Member
Thanks, works perfect!
Previous Topic:C++ Code Generation and variable multiplicity
Next Topic:Eclipse Papyrus BPMN
Goto Forum:
  


Current Time: Sat Dec 14 23:14:48 GMT 2019

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

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

Back to the top