Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » Customizing model explorer label based on the context node
Customizing model explorer label based on the context node [message #1833649] Tue, 20 October 2020 11:14
Thomas Wiman is currently offline Thomas WimanFriend
Messages: 62
Registered: June 2012
Location: Stockholm , Sweden
Member

I am trying to customize the model explorer in different ways.
One customization is about displaying relationships beneath their target element. Lets say if Package A has a dependency to Papckage B, I want to let the dependency be displayed as child element to B with a specific customized label indicating that it is an incoming relationship.
I have no problem in displaying the relationship beneath its target element. But I have no idea on how to customize its label based on the element in the node above.

Currently I am overriding the facet operation:
platform:/plugin/org.eclipse.papyrus.emf.facet.custom.ui/resources/customproperties.efacet#//CustomizedEObject/label
But I have no access to the context node from that implementation. My question is: Is it possible using this technique to get hold of the element in the (context)node above?

/Thomas


Thomas Wiman
MetaModelAgent Product Manager
Previous Topic:How do I get the FMI 2.0 Profile?
Next Topic:Activity diagram nodes are not showing properly
Goto Forum:
  


Current Time: Wed Jan 27 17:52:17 GMT 2021

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

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

Back to the top