Connection decorators do not get deleted [message #802949] |
Mon, 20 February 2012 18:08 |
Christian B Messages: 68 Registered: August 2011 |
Member |
|
|
Hi,
I have a problem with connection decorators in Graphiti 0.8.1. They don't get removed, when its connection gets removed...
This is the code for its creation:
ConnectionDecorator textDecorator = peCreateService.createConnectionDecorator(connection, true, 0.1, false);
Text text = gaService.createDefaultText(getDiagram(), textDecorator, "false");
text.setStyle(StyleUtil.getStyleForConditionheaderText((getDiagram())));
gaService.setLocation(text, 10, 0);
I use the standard delete and remove features.
In the Tutorial the connection decorator gets removed, if removing its connection. I think this is due to the link of the connection decorators text to the business model. In my case a static string is displayed.
Any ideas?
|
|
|
|
Powered by
FUDForum. Page generated in 0.03425 seconds