Zoom and pan actions / tools [message #140665] |
Tue, 29 June 2004 12:27  |
Eclipse User |
|
|
|
Hi!
I tried to look for zoom and pan Actions or Tools (and their Pallete
Entries) and havn't found any.
Am I missing something? If not- it this feature planned for the near future?
Thanks
Dolev
--------------------------------------------------
Dolev Dotan
Department of Computer Science
Technion - Israel Institute of Technology
---------------------------------------------------
|
|
|
|
Re: Zoom and pan actions / tools [message #140862 is a reply to message #140709] |
Wed, 30 June 2004 02:57   |
Eclipse User |
|
|
|
Thanks, Pratik!
IMHO, I think there should be also a panning tool (and its corresponding
pallete ToolEntry) which is separate from the selection, as this is very
common today and it might not come naturally for users to pan using the
space bar.
Also, a ready-made zoom tool, which of course uses the ZoomManager's
abilities, might be very useful.
BTW, I don't know how it works- when (if) I come aroung to writing such
tools, can I submit them as contributions for GEF?
Dolev
"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:cbs3io$e13$1@eclipse.org...
> For panning, you need to simply replace SelectionTool with
> PanningSelectionTool.
>
> Adding zoom support is a little more complicated. You'll have to use a
> scalable root (ScalableRootEditPart or ScalableFreeformRootEditPart).
They
> create a ZoomManager and have scalable layers. Look at
> LogicEditor#configureGraphicalViewer to get started.
>
> "Dolev Dotan" <dolevd@cs.technion.ac.il> wrote in message
> news:cbs1r3$9k8$1@eclipse.org...
> > Hi!
> > I tried to look for zoom and pan Actions or Tools (and their Pallete
> > Entries) and havn't found any.
> > Am I missing something? If not- it this feature planned for the near
> future?
> >
> > Thanks
> > Dolev
> >
> > --------------------------------------------------
> > Dolev Dotan
> > Department of Computer Science
> > Technion - Israel Institute of Technology
> > ---------------------------------------------------
> >
> >
>
>
|
|
|
Re: Zoom and pan actions / tools [message #141228 is a reply to message #140862] |
Thu, 01 July 2004 18:54  |
Eclipse User |
|
|
|
"Dolev Dotan" <dolevd@cs.technion.ac.il> wrote in message
news:cbtkpk$5rb$1@eclipse.org...
> Thanks, Pratik!
>
> IMHO, I think there should be also a panning tool (and its corresponding
> pallete ToolEntry) which is separate from the selection, as this is very
> common today and it might not come naturally for users to pan using the
> space bar.
Perhaps. It shouldn't be too difficult to write such a tool for yourself.
> Also, a ready-made zoom tool, which of course uses the ZoomManager's
> abilities, might be very useful.
Another example of something that's not too difficult to do. However, I
think Ctrl++ and Ctrl+- provide sufficient functionality and demonstrate
well enough what can be done.
>
> BTW, I don't know how it works- when (if) I come aroung to writing such
> tools, can I submit them as contributions for GEF?
Certainly. I am not sure exactly how it would work either. I don't think
anybody has (certainly not in the time that I have been here) contributed
brand new code to GEF. But one way we can go about doing this is to have
you create a patch in Eclipse for the GEF plugin. We can then review the
code and decide on whether or not to release it to the GEF steam.
>
> Dolev
>
>
>
>
> "Pratik Shah" <ppshah@us.ibm.com> wrote in message
> news:cbs3io$e13$1@eclipse.org...
> > For panning, you need to simply replace SelectionTool with
> > PanningSelectionTool.
> >
> > Adding zoom support is a little more complicated. You'll have to use a
> > scalable root (ScalableRootEditPart or ScalableFreeformRootEditPart).
> They
> > create a ZoomManager and have scalable layers. Look at
> > LogicEditor#configureGraphicalViewer to get started.
> >
> > "Dolev Dotan" <dolevd@cs.technion.ac.il> wrote in message
> > news:cbs1r3$9k8$1@eclipse.org...
> > > Hi!
> > > I tried to look for zoom and pan Actions or Tools (and their Pallete
> > > Entries) and havn't found any.
> > > Am I missing something? If not- it this feature planned for the near
> > future?
> > >
> > > Thanks
> > > Dolev
> > >
> > > --------------------------------------------------
> > > Dolev Dotan
> > > Department of Computer Science
> > > Technion - Israel Institute of Technology
> > > ---------------------------------------------------
> > >
> > >
> >
> >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.18383 seconds