Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Graphiti » Disabling reveal behavior in diagram editor
Disabling reveal behavior in diagram editor [message #1609009] Mon, 09 February 2015 22:44 Go to next message
Peter Tran is currently offline Peter TranFriend
Messages: 7
Registered: February 2015
Junior Member
Hi,

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?
Re: Disabling reveal behavior in diagram editor [message #1614851 is a reply to message #1609009] Fri, 13 February 2015 14:40 Go to previous messageGo to next message
Michael Wenz is currently offline Michael WenzFriend
Messages: 1883
Registered: July 2009
Location: Walldorf, Germany
Senior Member
Peter,

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.

Michael
Re: Disabling reveal behavior in diagram editor [message #1615122 is a reply to message #1614851] Fri, 13 February 2015 18:29 Go to previous message
Peter Tran is currently offline Peter TranFriend
Messages: 7
Registered: February 2015
Junior Member
Hi Michael,

Al and I are working together. He posted the same question on my behalf since my question didn't show up until later due to me being a new member. Thanks for the reply!

-Peter
Previous Topic:Graphiti editor refresh behavior
Next Topic:Custom Feature location Context Menu
Goto Forum:
  


Current Time: Wed Jan 24 12:06:23 GMT 2018

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

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