Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » GEF » Resizable ScrollableThumbnail?
Resizable ScrollableThumbnail? [message #178438] Wed, 20 April 2005 15:25 Go to next message
Eclipse UserFriend
Originally posted by: brett.bock.embarcadero.com

Hello,

I have seen in other graphical application where the overview windows
thumbnail can be resized, which effectively zooms the "main" window. Is
this capability available either in the framework or an example? If not, is
there a plan to implement this?

Thank you,
Brett
Re: Resizable ScrollableThumbnail? [message #178457 is a reply to message #178438] Wed, 20 April 2005 15:29 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
"Brett Bock" <brett.bock@embarcadero.com> wrote in message
news:d45sb8$lm9$1@news.eclipse.org...
> Hello,
>
> I have seen in other graphical application where the overview windows
> thumbnail can be resized, which effectively zooms the "main" window. Is

Where have you seen this?

> this capability available either in the framework or an example? If not,
is
> there a plan to implement this?

We have an overview as well as support for zooming. But resizing the
overview has no effect on zoom.

>
> Thank you,
> Brett
>
>
Re: Resizable ScrollableThumbnail? [message #178488 is a reply to message #178457] Wed, 20 April 2005 16:01 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: brett.bock.embarcadero.com

I have seen this in Microsoft Visio and tools written with the Tom Sawyer
Software: http://www.tomsawyer.com/home/index.php

Our company, Embarcadero (http://www.embarcadero.com/), has a suite of tools
that were written with the Tom Sawyer product, and we would like to retain
this zoom capability going forward into eclipse/gef base products.

Also, these other tools allow you to "select" an arbitrary area in the
overview window that then zooms & scrolls the main window to "fit" the
selected area.

The code we already have working is similar to the overview window from the
logic example. The capability that we would like to obtain/implement is the
ability to zoom the main window by resizing the thumbnail (light blue
rectangle) inside the overview.

"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:d45sim$m1c$1@news.eclipse.org...
>
> "Brett Bock" <brett.bock@embarcadero.com> wrote in message
> news:d45sb8$lm9$1@news.eclipse.org...
>> Hello,
>>
>> I have seen in other graphical application where the overview windows
>> thumbnail can be resized, which effectively zooms the "main" window. Is
>
> Where have you seen this?
>
>> this capability available either in the framework or an example? If not,
> is
>> there a plan to implement this?
>
> We have an overview as well as support for zooming. But resizing the
> overview has no effect on zoom.
>
>>
>> Thank you,
>> Brett
>>
>>
>
>
Re: Resizable ScrollableThumbnail? [message #178496 is a reply to message #178488] Wed, 20 April 2005 16:08 Go to previous messageGo to next message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
"Brett Bock" <brett.bock@embarcadero.com> wrote in message
news:d45ue8$ond$1@news.eclipse.org...
> I have seen this in Microsoft Visio and tools written with the Tom Sawyer
> Software: http://www.tomsawyer.com/home/index.php
>
> Our company, Embarcadero (http://www.embarcadero.com/), has a suite of
tools
> that were written with the Tom Sawyer product, and we would like to retain
> this zoom capability going forward into eclipse/gef base products.
>
> Also, these other tools allow you to "select" an arbitrary area in the
> overview window that then zooms & scrolls the main window to "fit" the
> selected area.

While we don't do this, this is certainly possible. Shouldn't be too
difficult to implement.

>
> The code we already have working is similar to the overview window from
the
> logic example. The capability that we would like to obtain/implement is
the
> ability to zoom the main window by resizing the thumbnail (light blue
> rectangle) inside the overview.
>
> "Pratik Shah" <ppshah@us.ibm.com> wrote in message
> news:d45sim$m1c$1@news.eclipse.org...
> >
> > "Brett Bock" <brett.bock@embarcadero.com> wrote in message
> > news:d45sb8$lm9$1@news.eclipse.org...
> >> Hello,
> >>
> >> I have seen in other graphical application where the overview windows
> >> thumbnail can be resized, which effectively zooms the "main" window.
Is
> >
> > Where have you seen this?
> >
> >> this capability available either in the framework or an example? If
not,
> > is
> >> there a plan to implement this?
> >
> > We have an overview as well as support for zooming. But resizing the
> > overview has no effect on zoom.
> >
> >>
> >> Thank you,
> >> Brett
> >>
> >>
> >
> >
>
>
Re: Resizable ScrollableThumbnail? [message #178503 is a reply to message #178496] Wed, 20 April 2005 16:26 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: brett.bock.embarcadero.com

Well, it seems we would want do derive from ScrollableThumbnail, but this is
a final class. Any suggestions on how to implement this? So I take it that
there is no plan to implement this into the gef framework?

"Pratik Shah" <ppshah@us.ibm.com> wrote in message
news:d45us7$pa3$1@news.eclipse.org...
>
> "Brett Bock" <brett.bock@embarcadero.com> wrote in message
> news:d45ue8$ond$1@news.eclipse.org...
>> I have seen this in Microsoft Visio and tools written with the Tom Sawyer
>> Software: http://www.tomsawyer.com/home/index.php
>>
>> Our company, Embarcadero (http://www.embarcadero.com/), has a suite of
> tools
>> that were written with the Tom Sawyer product, and we would like to
>> retain
>> this zoom capability going forward into eclipse/gef base products.
>>
>> Also, these other tools allow you to "select" an arbitrary area in the
>> overview window that then zooms & scrolls the main window to "fit" the
>> selected area.
>
> While we don't do this, this is certainly possible. Shouldn't be too
> difficult to implement.
>
>>
>> The code we already have working is similar to the overview window from
> the
>> logic example. The capability that we would like to obtain/implement is
> the
>> ability to zoom the main window by resizing the thumbnail (light blue
>> rectangle) inside the overview.
>>
>> "Pratik Shah" <ppshah@us.ibm.com> wrote in message
>> news:d45sim$m1c$1@news.eclipse.org...
>> >
>> > "Brett Bock" <brett.bock@embarcadero.com> wrote in message
>> > news:d45sb8$lm9$1@news.eclipse.org...
>> >> Hello,
>> >>
>> >> I have seen in other graphical application where the overview windows
>> >> thumbnail can be resized, which effectively zooms the "main" window.
> Is
>> >
>> > Where have you seen this?
>> >
>> >> this capability available either in the framework or an example? If
> not,
>> > is
>> >> there a plan to implement this?
>> >
>> > We have an overview as well as support for zooming. But resizing the
>> > overview has no effect on zoom.
>> >
>> >>
>> >> Thank you,
>> >> Brett
>> >>
>> >>
>> >
>> >
>>
>>
>
>
Re: Resizable ScrollableThumbnail? [message #178535 is a reply to message #178503] Wed, 20 April 2005 17:14 Go to previous message
Pratik Shah is currently offline Pratik ShahFriend
Messages: 1077
Registered: July 2009
Senior Member
Actually, you probably want Thumbnail. You can add a mouse listener and
detect drags and determine the scroll location and zoom amount.

If you think you still need to subclass ScrollableThumbnail, open a bug
report stating why you need to subclass it.

"Brett Bock" <brett.bock@embarcadero.com> wrote in message
news:d45vsn$qij$1@news.eclipse.org...
> Well, it seems we would want do derive from ScrollableThumbnail, but this
is
> a final class. Any suggestions on how to implement this? So I take it
that
> there is no plan to implement this into the gef framework?
>
> "Pratik Shah" <ppshah@us.ibm.com> wrote in message
> news:d45us7$pa3$1@news.eclipse.org...
> >
> > "Brett Bock" <brett.bock@embarcadero.com> wrote in message
> > news:d45ue8$ond$1@news.eclipse.org...
> >> I have seen this in Microsoft Visio and tools written with the Tom
Sawyer
> >> Software: http://www.tomsawyer.com/home/index.php
> >>
> >> Our company, Embarcadero (http://www.embarcadero.com/), has a suite of
> > tools
> >> that were written with the Tom Sawyer product, and we would like to
> >> retain
> >> this zoom capability going forward into eclipse/gef base products.
> >>
> >> Also, these other tools allow you to "select" an arbitrary area in the
> >> overview window that then zooms & scrolls the main window to "fit" the
> >> selected area.
> >
> > While we don't do this, this is certainly possible. Shouldn't be too
> > difficult to implement.
> >
> >>
> >> The code we already have working is similar to the overview window from
> > the
> >> logic example. The capability that we would like to obtain/implement
is
> > the
> >> ability to zoom the main window by resizing the thumbnail (light blue
> >> rectangle) inside the overview.
> >>
> >> "Pratik Shah" <ppshah@us.ibm.com> wrote in message
> >> news:d45sim$m1c$1@news.eclipse.org...
> >> >
> >> > "Brett Bock" <brett.bock@embarcadero.com> wrote in message
> >> > news:d45sb8$lm9$1@news.eclipse.org...
> >> >> Hello,
> >> >>
> >> >> I have seen in other graphical application where the overview
windows
> >> >> thumbnail can be resized, which effectively zooms the "main" window.
> > Is
> >> >
> >> > Where have you seen this?
> >> >
> >> >> this capability available either in the framework or an example? If
> > not,
> >> > is
> >> >> there a plan to implement this?
> >> >
> >> > We have an overview as well as support for zooming. But resizing the
> >> > overview has no effect on zoom.
> >> >
> >> >>
> >> >> Thank you,
> >> >> Brett
> >> >>
> >> >>
> >> >
> >> >
> >>
> >>
> >
> >
>
>
Previous Topic:Grid Layout / Directed Graph Layout
Next Topic:ediagram example
Goto Forum:
  


Current Time: Fri Apr 19 15:50:30 GMT 2024

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

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

Back to the top