|
Re: Custom label provider for Model Navigator view [message #1745495 is a reply to message #1745430] |
Tue, 11 October 2016 15:15 |
|
Hi, Leonid,
Papyrus offers a few different mechanisms for customization of the icons in the Model Explorer. Firstly, if an element has a stereotype applied that has a custom icon defined in the profile, then that icon should be used.
But, for more flexibility, the Papyrus APIs include a Label Provider Service. Search references in plugin.xml to the org.eclipse.papyrus.infra.services.labelprovider.labelProvider extension point for examples of how to register a label provider with this service and how to give it priority over other providers and filter its applicability to specific elements in the Model Explorer.
HTH,
Christian
|
|
|
Powered by
FUDForum. Page generated in 0.03311 seconds