Skip to main content



      Home
Home » Eclipse Projects » GEF » Global summary view
Global summary view [message #148604] Wed, 25 August 2004 10:27 Go to next message
Eclipse UserFriend
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 #148620 is a reply to message #148604] Wed, 25 August 2004 11:23 Go to previous messageGo to next message
Eclipse UserFriend
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
>
Re: Global summary view [message #148636 is a reply to message #148620] Wed, 25 August 2004 11:36 Go to previous message
Eclipse UserFriend
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
> >
Previous Topic:setting Z-order/depth-order of figures
Next Topic:flickering
Goto Forum:
  


Current Time: Sun Jun 08 13:36:29 EDT 2025

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

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

Back to the top