| [news.eclipse.modeling.gmf] Re: Center Node in Diagram Editor |
Have a look at:
org.eclipse.gef.ui.parts.GraphicalViewerImpl#reveal
org.eclipse.gef.editparts.ViewportExposeHelper#exposeDescendant
Maybe you'll find some hints there.
Hey there. This may be totally obvious, but I can't find out how to do it :)
I would like to move the diagram editor window so it is centered on a particular node. What methods or classes should I look at in order to do this?
For example, |-------| |N | |_______|
becomes
|-------| | N | |_______|
Thanks!
Jen