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
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?

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: 1899
Registered: July 2009
Location: Walldorf, Germany
Senior Member

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.

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

Current Time: Thu Nov 15 04:15:30 GMT 2018

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

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

Back to the top