Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » SWT large component widget question
SWT large component widget question [message #665018] Tue, 12 April 2011 20:01 Go to next message
Eclipse UserFriend
Originally posted by: nospam.somewhere.org

A large swt widget component shall be implemented. A gantt diagram may
be an example for this component:

- a small part is visible, horizontal and vertical scrollbars are used
to scroll to currently invisible areas
- the number of horizontal and vertical elements is dynamic
- any (visible) element is choosable and shows a context menu

Simply implementing a paint listener may have poor performance if there
are many elements in the invisible are. Also the scrollbars shall
support smooth scrolling.

In which way can such component be implemented?

Markus
Re: SWT large component widget question [message #665026 is a reply to message #665018] Tue, 12 April 2011 22:03 Go to previous messageGo to next message
Ed Merks is currently offline Ed MerksFriend
Messages: 33140
Registered: July 2009
Senior Member
Markus,

It sounds like something you might want to use GEF/Draw2D to implement.


Ceeper wrote:
> A large swt widget component shall be implemented. A gantt diagram may
> be an example for this component:
>
> - a small part is visible, horizontal and vertical scrollbars are used
> to scroll to currently invisible areas
> - the number of horizontal and vertical elements is dynamic
> - any (visible) element is choosable and shows a context menu
>
> Simply implementing a paint listener may have poor performance if
> there are many elements in the invisible are. Also the scrollbars
> shall support smooth scrolling.
>
> In which way can such component be implemented?
>
> Markus


Ed Merks
Professional Support: https://www.macromodeling.com/
Re: SWT large component widget question [message #665051 is a reply to message #665018] Wed, 13 April 2011 06:02 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
There's a gant control in Nebula.

Tom

Am 12.04.11 22:01, schrieb Ceeper:
> A large swt widget component shall be implemented. A gantt diagram may
> be an example for this component:
>
> - a small part is visible, horizontal and vertical scrollbars are used
> to scroll to currently invisible areas
> - the number of horizontal and vertical elements is dynamic
> - any (visible) element is choosable and shows a context menu
>
> Simply implementing a paint listener may have poor performance if there
> are many elements in the invisible are. Also the scrollbars shall
> support smooth scrolling.
>
> In which way can such component be implemented?
>
> Markus
Previous Topic:[SOLVED] Recover from SWT Error
Next Topic:ScrollableComposite
Goto Forum:
  


Current Time: Wed Apr 24 17:37:06 GMT 2024

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

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

Back to the top