Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Model Explorer Customization Question
Model Explorer Customization Question [message #651708] Tue, 01 February 2011 11:25 Go to next message
Wladimir Schamai is currently offline Wladimir SchamaiFriend
Messages: 53
Registered: May 2010
Member
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 12:17 Go to previous message
Remi Schnekenburger is currently offline Remi SchnekenburgerFriend
Messages: 169
Registered: July 2009
Location: Palaiseau, France
Senior Member
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


Remi Schnekenburger

Get professional Eclipse developer support:
http://eclipsesource.com/en/services/developer-support/
Previous Topic:Create diagram action
Next Topic:Updating Papyrus
Goto Forum:
  


Current Time: Thu Mar 28 17:33:33 GMT 2024

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

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

Back to the top