Skip to main content



      Home
Home » Modeling » Papyrus » Means to filter out associations from the model explorer
Means to filter out associations from the model explorer [message #1160513] Tue, 29 October 2013 03:06 Go to next message
Eclipse UserFriend
I have not found a way to make the model explorer show only the relevant elements and not associative elements from the view, which for me clutters up the explorer at least most of the time I work in it.

I know there are different ways of filtering the view but haven't understood how to do this.

Any help appreciated.

Regards,
Tomas Sandkvist
Re: Means to filter out associations from the model explorer [message #1160576 is a reply to message #1160513] Tue, 29 October 2013 04:05 Go to previous message
Eclipse UserFriend
Hi,


There is now way out-of-the-box. Papyrus provides some customization facility, but they target power-user (Who pre-configure Papyrus before wider deployment). This means that you need to create a customization plug-in for that.

For the ModelExplorer, Papyrus relies on EMF Facet browser customization (0.1).

Basically, you need to create an EMF Facet 0.1 Browser Customization File (associations.uiCustom for example), and associate it to the UML Metamodel. Then you can use this file to configure the ModelExplorer. The file needs to be deployed in a plug-in.

Note that in standard Eclipse Installation, the EMF Facet 0.1 capability is disabled (Which means the wizards and menus are hidden). You can enable it in Window > Preferences > General > Capabilities. Also note that EMF Facet provides two different metamodels. The first one, "0.1", used by Papyrus, and the new one, "0.2". Both versions are available in EMF Facet >= 0.2, and the first one is considered deprecated (But this is the one we use).


Regards,
Camille
Previous Topic:All contents of an activity diagram lost...
Next Topic:unidirection Association in class Diagramm
Goto Forum:
  


Current Time: Sun Jul 06 03:27:00 EDT 2025

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

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

Back to the top