Create graphical elements by create new diagram [message #963181] |
Mon, 29 October 2012 12:22  |
Eclipse User |
|
|
|
Hello,
i need some help. I want to create some graphical elements while create a new diagram. This elements are not parts of the model, only a graphical representation. For example it should visualize the user a start point as dot. So i create a dummy class, create an AddFeature and CreateFeature. I tried to trigger the creation of this element inside the DiagramProvider.postInit(), but get an exception:
java.lang.IllegalStateException: Cannot modify resource set without a write transaction
What is the correct approach to this? By create a new diagram, there should be a simple dot as start point inside the diagram?
Regards,
Markus
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.04245 seconds