Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » What about sorting ?
What about sorting ? [message #7097] Tue, 25 July 2006 19:06 Go to next message
jmi is currently offline jmiFriend
Messages: 84
Registered: July 2009
Member
Hi,

I've got a look at this Nebula control, it looks interesting.

Is there a way to sort like the Table SWT component ?

What do you think of comp4swt - http://www.wdev91.com/comp4swt/ and its
FormattedText component (Date, Number and Mask formatter) ? Do you think
possible to add this kind of control in SWT ?

Thanks
Re: What about sorting ? [message #7121 is a reply to message #7097] Tue, 25 July 2006 20:46 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
> Is there a way to sort like the Table SWT component ?
Yes, you would sort the Grid exactly like you would sort Table (i.e. you
need to create dispose and recreate the items).

> What do you think of comp4swt - http://www.wdev91.com/comp4swt/ and its
> FormattedText component (Date, Number and Mask formatter) ? Do you think
> possible to add this kind of control in SWT ?
They look interesting. I'm sure SWT has considered similar widgets.
Nebula could benefit from widgets like these.

-Chris
Re: What about sorting ? [message #9275 is a reply to message #7121] Thu, 17 August 2006 08:32 Go to previous messageGo to next message
Guido Kuepper is currently offline Guido KuepperFriend
Messages: 17
Registered: July 2009
Junior Member
Chris Gross schrieb:
>> Is there a way to sort like the Table SWT component ?
> Yes, you would sort the Grid exactly like you would sort Table (i.e. you
> need to create dispose and recreate the items).

Chris,

do I understand this the right way? You are working with that (imho)
ugly create - dispose mechanism SWT does? Is there a special reason for
it or is it just for SWT interface compatibility (as I understood so
far, the nebula grid is drawn on a canvas - so it should be possible to
put the GridItem positions in a container, reorder this container by the
sort criteria and redraw them dynamically)?
Don't get me wrong, I have an huge amount of respect for your work, it
should just be a hint to think about (because for column reordering you
do not have to dispose and create columns again).

Greets

Guido

>
>> What do you think of comp4swt - http://www.wdev91.com/comp4swt/ and
>> its FormattedText component (Date, Number and Mask formatter) ? Do
>> you think possible to add this kind of control in SWT ?
> They look interesting. I'm sure SWT has considered similar widgets.
> Nebula could benefit from widgets like these.
>
> -Chris
Re: What about sorting ? [message #9294 is a reply to message #9275] Fri, 18 August 2006 19:43 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
Enter a bug and I'll see whats necessary to add support for this...

Guido Küpper wrote:
>
> Chris Gross schrieb:
>>> Is there a way to sort like the Table SWT component ?
>> Yes, you would sort the Grid exactly like you would sort Table (i.e.
>> you need to create dispose and recreate the items).
>
> Chris,
>
> do I understand this the right way? You are working with that (imho)
> ugly create - dispose mechanism SWT does? Is there a special reason for
> it or is it just for SWT interface compatibility (as I understood so
> far, the nebula grid is drawn on a canvas - so it should be possible to
> put the GridItem positions in a container, reorder this container by the
> sort criteria and redraw them dynamically)?
> Don't get me wrong, I have an huge amount of respect for your work, it
> should just be a hint to think about (because for column reordering you
> do not have to dispose and create columns again).
>
> Greets
>
> Guido
>
>>
>>> What do you think of comp4swt - http://www.wdev91.com/comp4swt/ and
>>> its FormattedText component (Date, Number and Mask formatter) ? Do
>>> you think possible to add this kind of control in SWT ?
>> They look interesting. I'm sure SWT has considered similar widgets.
>> Nebula could benefit from widgets like these.
>>
>> -Chris
Re: What about sorting ? [message #563309 is a reply to message #7097] Tue, 25 July 2006 20:46 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
> Is there a way to sort like the Table SWT component ?
Yes, you would sort the Grid exactly like you would sort Table (i.e. you
need to create dispose and recreate the items).

> What do you think of comp4swt - http://www.wdev91.com/comp4swt/ and its
> FormattedText component (Date, Number and Mask formatter) ? Do you think
> possible to add this kind of control in SWT ?
They look interesting. I'm sure SWT has considered similar widgets.
Nebula could benefit from widgets like these.

-Chris
Re: What about sorting ? [message #563978 is a reply to message #7121] Thu, 17 August 2006 08:32 Go to previous message
Guido Kuepper is currently offline Guido KuepperFriend
Messages: 17
Registered: July 2009
Junior Member
Chris Gross schrieb:
>> Is there a way to sort like the Table SWT component ?
> Yes, you would sort the Grid exactly like you would sort Table (i.e. you
> need to create dispose and recreate the items).

Chris,

do I understand this the right way? You are working with that (imho)
ugly create - dispose mechanism SWT does? Is there a special reason for
it or is it just for SWT interface compatibility (as I understood so
far, the nebula grid is drawn on a canvas - so it should be possible to
put the GridItem positions in a container, reorder this container by the
sort criteria and redraw them dynamically)?
Don't get me wrong, I have an huge amount of respect for your work, it
should just be a hint to think about (because for column reordering you
do not have to dispose and create columns again).

Greets

Guido

>
>> What do you think of comp4swt - http://www.wdev91.com/comp4swt/ and
>> its FormattedText component (Date, Number and Mask formatter) ? Do
>> you think possible to add this kind of control in SWT ?
> They look interesting. I'm sure SWT has considered similar widgets.
> Nebula could benefit from widgets like these.
>
> -Chris
Re: What about sorting ? [message #564018 is a reply to message #9275] Fri, 18 August 2006 19:43 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
Enter a bug and I'll see whats necessary to add support for this...

Guido Küpper wrote:
>
> Chris Gross schrieb:
>>> Is there a way to sort like the Table SWT component ?
>> Yes, you would sort the Grid exactly like you would sort Table (i.e.
>> you need to create dispose and recreate the items).
>
> Chris,
>
> do I understand this the right way? You are working with that (imho)
> ugly create - dispose mechanism SWT does? Is there a special reason for
> it or is it just for SWT interface compatibility (as I understood so
> far, the nebula grid is drawn on a canvas - so it should be possible to
> put the GridItem positions in a container, reorder this container by the
> sort criteria and redraw them dynamically)?
> Don't get me wrong, I have an huge amount of respect for your work, it
> should just be a hint to think about (because for column reordering you
> do not have to dispose and create columns again).
>
> Greets
>
> Guido
>
>>
>>> What do you think of comp4swt - http://www.wdev91.com/comp4swt/ and
>>> its FormattedText component (Date, Number and Mask formatter) ? Do
>>> you think possible to add this kind of control in SWT ?
>> They look interesting. I'm sure SWT has considered similar widgets.
>> Nebula could benefit from widgets like these.
>>
>> -Chris
Previous Topic:column visibility
Next Topic:Re: Blank view when implementing CTableTree
Goto Forum:
  


Current Time: Tue Apr 23 14:45:31 GMT 2024

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

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

Back to the top