|
Re: Change Message font to bold (using EdgeImpl) [message #1470616 is a reply to message #1466836] |
Wed, 12 November 2014 13:33 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi Vinicius,
We should really use "Connectors" everywhere, instead of "Edges". That's probably something to fix in a consistent way for the next version of Papyrus.
Edges can be customized by adding a new child style (e.g. myEdge.getStyles().add(NotationFactory.eINSTANCE.createLineStyle()), but I'm not sure the diagram will properly use them (They may). If they don't, this also needs to be fixed.
We're currently (for Papyrus 1.1) in the process of unifying diagram implementations. One of the goals is to allow a proper and consistent customizability of all diagram elements, so this kind of thing is definitely in the scope
The LineStyle can be used to set the LineColor and LineWidth, whereas the FontStyle can be used for Font Color, Bold, and some other properties.
Regards,
Camille
Camille Letavernier
|
|
|
|
Powered by
FUDForum. Page generated in 0.02264 seconds