Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Graphiti editor refresh behavior
Graphiti editor refresh behavior [message #1609107] Tue, 10 February 2015 00:15 Go to next message
Al B is currently offline Al BFriend
Messages: 47
Registered: June 2012
Member
We have a feature that instantiates several elements in the diagram editor at one time. After creating the elements, the default refresh behavior tries to reveal all the elements causing an erratic scrolling behavior in the editor. Is there a way to disable this refresh behavior or delay until the graph editor has been completely populated?

Thanks!
Re: Graphiti editor refresh behavior [message #1614845 is a reply to message #1609107] Fri, 13 February 2015 14:39 Go to previous message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1931
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Al,

that refresh is triggered by the DiagramChangeListener after the EMF change
has taken place. Probably the best way would be to override
DefaultRefreshBehavior.refresh() and implement your own logic there.

Michael
Previous Topic:GMF Layout Algorithm for Graphiti
Next Topic:Disabling reveal behavior in diagram editor
Goto Forum:
  


Current Time: Tue Apr 23 06:22:28 GMT 2024

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

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

Back to the top