Diagram stores all pictogramLinks - simplify xml [message #1817497] |
Sun, 24 November 2019 15:14  |
Eclipse User |
|
|
|
Hi,
I try to simplify the stored xml representing pictogram elements. I have limited set of element types so I don't need to store in each element complete graphicsAlgorithm. I started to do it by creating my custom model that inherits from platform:/resource/org.eclipse.graphiti.mm/model/graphiti.ecore#//pictograms/ and overrides methods that create Pictogram elements on the fly.
I have question about pictograms/Diagram. As I see, it stores all pictogram links that are created by org.eclipse.graphiti.features.impl.AbstractFeatureProvider.link method. Why this knowledge is necessary on the level of Diagram?
Or maybe my whole approach is wrong and I should resign from inheriting graphiti.ecore and build model from scratch?
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.03440 seconds