Open mbats opened 10 years ago
To implement this use the Sirius Feature Extension, an example is avaialble in the graal project : https://github.com/ObeoNetwork/InformationSystem/tree/master/designs/graal/plugins/org.obeonetwork.graal.design/src/org/obeonetwork/graal/design/extension https://github.com/ObeoNetwork/InformationSystem/blob/master/designs/graal/plugins/org.obeonetwork.graal.design/plugin.xml#L20
Is it possible to integrate these label customization to the Sirius Appearance view ?
Another possibility to implement this feature is to use the graphical filters : org.eclipse.sirius.diagram.GraphicalFilter. Implement a specific graphical filter for the labels and then from the computeUmlLabel service thanks to the view get the activated graphical filter and compute the label according to this information.
It should be possible to customize labels. For example, in the class diagram, we would like to be able on a properties to select to view in its label the multiplicity , the uniqueness....
See the user related question on the obeo network : http://www.obeonetwork.com/group/uml-designer/forum/topic/show?id=6359481%3ATopic%3A59647&xg_source=msg