Customizing model explorer label based on the context node [message #1833649] |
Tue, 20 October 2020 07:14 |
Eclipse User |
|
|
|
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
|
|
|
Powered by
FUDForum. Page generated in 0.03290 seconds