I 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. What would be the best way to disable this behavior?
Michael Wenz Messages: 1887 Registered: July 2009 Location: Walldorf, Germany
strange, nearly the same question as asked by Al only a few hours ago. I
repeat my answer here:
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.