Skip to main content



      Home
Home » Eclipse Projects » GEF » How can I restrict the automatic scrolling with given height and width?
How can I restrict the automatic scrolling with given height and width? [message #158040] Mon, 15 November 2004 02:45 Go to next message
Eclipse UserFriend
Originally posted by: justinaruja.isletsystems.com

Hello All,

I have implemented automatic scrolling using
ViewportAutoexposeHelper class. It is working fine, but I don't want to
scroll beyond some point.

1) How can I implement it.

Also during automatic scrolling, the flowLayout with isHorizontal false
not working properly

Please advice

Thanks in advance

Justin
Re: How can I restrict the automatic scrolling with given height and width? [message #158268 is a reply to message #158040] Tue, 16 November 2004 22:52 Go to previous messageGo to next message
Eclipse UserFriend
1) Override ViewportAutoExposeHelper's step() method, cache the total
scrolled distance, and don't do anything once you've scrolled past a certain
distance.

2) What are the symptoms of "not working properly"? Scrolling
(auto-scrolling no less) doesn't affect layout.

"Justin D'aruja" <justinaruja@isletsystems.com> wrote in message
news:cn9mr5$v50$1@eclipse.org...
> Hello All,
>
> I have implemented automatic scrolling using
> ViewportAutoexposeHelper class. It is working fine, but I don't want to
> scroll beyond some point.
>
> 1) How can I implement it.
>
> Also during automatic scrolling, the flowLayout with isHorizontal false
> not working properly
>
> Please advice
>
> Thanks in advance
>
> Justin
Re: How can I restrict the automatic scrolling with given height and width? [message #158426 is a reply to message #158268] Thu, 18 November 2004 02:31 Go to previous message
Eclipse UserFriend
Originally posted by: justinaruja.isletsystems.com

Hello Pratik Shah

<<2) What are the symptoms of "not working properly"? Scrolling
<<(auto-scrolling no less) doesn't affect layout.


During auto-scrolling FlowLayout behaviour changes from vetical to
horizontal.


Thanks,

Justin
Previous Topic:[ANN] Render WYSIWYG documents with Draw2D
Next Topic:Lines disappearing on grid
Goto Forum:
  


Current Time: Thu May 29 02:08:37 EDT 2025

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

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

Back to the top