Model Explorer Customization Question [message #651708] |
Tue, 01 February 2011 06:25  |
Eclipse User |
|
|
|
Hi all,
I would like to create a Modisco customization of for the Papyrus Model Browser. Amongst others, it should not display the names of stereotypes applied to elements. I know that this is realized in the Papyrus SysML customization. However, I cannot see how this is achieved. Can anyone give me a hint?
thanks
Wladimir
|
|
|
Re: Model Explorer Customization Question [message #651717 is a reply to message #651708] |
Tue, 01 February 2011 07:17  |
Eclipse User |
|
|
|
Hi,
As far as I know, this is realized by a query getLabel, applied on the label of the element NamedElement. (you should look in the file /org.eclipse.papyrus.sysml.modelexplorer/resources/SysMLDefa ultExplorerCustomization.uiCustom)
The getLabel only returns the name of the element, with no more information (neither metaclass name nor stereotypes applied).
HTH,
Rémi
|
|
|
Powered by
FUDForum. Page generated in 0.03228 seconds