Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » GMF (Graphical Modeling Framework) » DiagramLinkStyle example
DiagramLinkStyle example [message #1783371] Mon, 12 March 2018 12:54 Go to next message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
Hi,

is there an example on how to use the DiagramLinkStyle (or hinted link, or multi link) style somewhere? Would it be possible to apply this style to a Note and then render these link-style notes differently?

Thanks for any help,
Felix
Re: DiagramLinkStyle example [message #1783448 is a reply to message #1783371] Tue, 13 March 2018 09:40 Go to previous message
Felix Dorner is currently offline Felix DornerFriend
Messages: 392
Registered: December 2015
Senior Member
Now, looking at the javadoc of org.eclipse.gmf.runtime.diagram.ui.figures.NoteFigure it sais:

/**
* a figure represents the Note view, this figure had a mode called
* DiagramLinkMode, if this mode is turned ON then the text alignment
* will be center instead of left and the border will be rectangle
* instead of the note border shape, also it will not paint the border
* @see #setDiagramLinkMode(boolean)
* @author sshaw, mmostafa

So there "was" a DiagramLinkMode, which seems to be exactly what I want. Anyone remembers how that mode was used, ideally with an example?
Previous Topic:two links being shown when diagrams are connected
Next Topic:Rotation of EditParts possible?
Goto Forum:
  


Current Time: Sat Apr 20 04:10:33 GMT 2024

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

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

Back to the top