|Re: Means to filter out associations from the model explorer [message #1160576 is a reply to message #1160513]
||Tue, 29 October 2013 08:05
| Camille Letavernier
Registered: February 2011
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).
Powered by FUDForum
. Page generated in 0.01739 seconds