Skip to main content



      Home
Home » Modeling » Graphiti » Removing old PE Decorators from diagram(old decorators are not deleted on performing automatic layout)
Removing old PE Decorators from diagram [message #1061657] Mon, 03 June 2013 08:13 Go to next message
Eclipse UserFriend
Hi,

I have a Graphiti diagram editor in which we have integrated the KIELER framework for automatic layout. There are decorators attached to various Pictogram Elements in the diagram. The decorators are rendered fine when the shapes(PE) are moves manually. But, when we apply layouting algorithms, the old decorators still remain in the editor and do not leave the editor until the whole diagram is deleted (the new ones are rendered correctly).

Here are the screenshots showing the scenario :-
Before Performing Layout:index.php/fa/15134/0/
After Performing Layout:index.php/fa/15135/0/

I have tried refreshing the diagram editor after performing layout but the old decorators still remain.

What might be the reason for such a behavior?
Is there a way to explicitly delete all the decorators present inside the diagram? (doing this just before the layout will solve the issue).

Thanks and Regards,
Jayant
Re: Removing old PE Decorators from diagram [message #1061843 is a reply to message #1061657] Tue, 04 June 2013 06:35 Go to previous message
Eclipse UserFriend
Jayant,

this sounds strange. How do you set the new locations after the call to the
Kieler layouting?

FWIW: there is a method refreshRenderingDecorators just besides the refresh
method, but that refresh should also be triggered from the refresh method
you tried to call.

Michael
Previous Topic:Spray: Cannot Satisfy Dependency
Next Topic:Graphiti as RCP
Goto Forum:
  


Current Time: Tue Jul 01 12:56:03 EDT 2025

Powered by FUDForum. Page generated in 0.26516 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top