Skip to main content



      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 07:14
Eclipse UserFriend
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
Previous Topic:How do I get the FMI 2.0 Profile?
Next Topic:Activity diagram nodes are not showing properly
Goto Forum:
  


Current Time: Sat Jul 12 20:13:27 EDT 2025

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

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

Back to the top