Global summary view [message #148604] |
Wed, 25 August 2004 10:27  |
Eclipse User |
|
|
|
Greetings,
I have been told there is an "easy" way in GEF to have a global summary
view of a whole diagram appear in it's own little sub-window somewhere on
a GraphicalViewer's editable canvas.
I have had trouble finding anything in the documentation as to where to
start on this. I have found the ZoomManager attached to the
ScalableRootEditPart and this seems to work well for zooming in and out on
the canvas, but not how to create a global summary view.
Can someone tell me a) if there really is a simple way to do this and if
so b) can you point me in the direction of the part of the GEF API that
supports it? Ideally, if anyone knows of any coding examples that would
be great too.
Thanks,
Cameron
|
|
|
|
Re: Global summary view [message #148636 is a reply to message #148620] |
Wed, 25 August 2004 11:36  |
Eclipse User |
|
|
|
Fantastic. Thanks Pratik that's just what I was looking for.
Pratik Shah wrote:
> I think you are talking about the overview. In the logic example, open the
> outline view and click on the "overview" button in the view's toolbar. For
> its corresponding code, look at
> LogicEditor.OutlinePage#initializeOverview().
> "Cameron Bateman" <cbateman@rim.com> wrote in message
> news:cgi7l1$nj4$1@eclipse.org...
> > Greetings,
> >
> > I have been told there is an "easy" way in GEF to have a global summary
> > view of a whole diagram appear in it's own little sub-window somewhere on
> > a GraphicalViewer's editable canvas.
> >
> > I have had trouble finding anything in the documentation as to where to
> > start on this. I have found the ZoomManager attached to the
> > ScalableRootEditPart and this seems to work well for zooming in and out on
> > the canvas, but not how to create a global summary view.
> >
> > Can someone tell me a) if there really is a simple way to do this and if
> > so b) can you point me in the direction of the part of the GEF API that
> > supports it? Ideally, if anyone knows of any coding examples that would
> > be great too.
> >
> >
> > Thanks,
> >
> > Cameron
> >
|
|
|
Powered by
FUDForum. Page generated in 0.03374 seconds