OpenApi customize tooltip of a ShapeElement

Diagramming issues

Moderator: Moderators

OpenApi customize tooltip of a ShapeElement

Postby kinga.j.fogarasi@accenture.com » Thu May 12, 2022 12:28 am

We’re trying to overwrite a tooltip which is shown on a diagram element in MagicDraw.
The element is created by the
com.nomagic.magicdraw.openapi.uml.PresentationElementsManager::createShapeElement(com.nomagic.uml2.ext.magicdraw.classes.mdkernel.Element element, com.nomagic.magicdraw.uml.symbols.PresentationElement parentPresentationElement) method.
The created ShapeElement for which we would like to change the tooltip is actually a com.nomagic.magicdraw.uml.symbols.shapes.PortView. The current tooltip reads:

PortName : PortType
flow properties
out ElementName1 : ElementType1
...
out ElementNameN : ElementTypeN

The desired change is to have some of the elements listed under the separator "flow properties" written with bold.
Is this possible? What are the required steps to achieve this?

Thanks,
Kinga
kinga.j.fogarasi@accenture.com
Forum Newbie
Forum Newbie
 
Posts: 1
Posts Rating:0
Joined: Thu Jan 06, 2022 6:14 am

Return to Diagramming

Who is online

Users browsing this forum: No registered users and 0 guests

cron