Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » C-SWT project is opened / requirement wanted.
C-SWT project is opened / requirement wanted. [message #466302] Fri, 06 January 2006 07:31 Go to next message
andy is currently offline andyFriend
Messages: 10
Registered: July 2009
Junior Member
hi all.
C-SWT(http://sourceforge.net/projects/c-swt/) project is opened.
C-SWT is Customizable (user-defined) SWT Component.
C-SWT supports more comportable and higher quality of user interface
than eclipse SWT.
GTK+ widget, QT widget, components in MS visual studio or anything you
wanted are good clue to define widgets for C-SWT.

the project will be started from extending basic widget such as Button,
List, Tree , etc to more complex widget such as calendar, dbTable,
XMLTreeMapper(for xslt) etc.

so, I wanna survey user requirements here.
what kind of widget do you want ? ;-)
Re: C-SWT project is opened / requirement wanted. [message #466347 is a reply to message #466302] Sat, 07 January 2006 16:47 Go to previous messageGo to next message
Mathis Ahrens is currently offline Mathis AhrensFriend
Messages: 5
Registered: July 2009
Junior Member
andy wrote:
> hi all.
> C-SWT(http://sourceforge.net/projects/c-swt/) project is opened.
> C-SWT is Customizable (user-defined) SWT Component.
> C-SWT supports more comportable and higher quality of user interface
> than eclipse SWT.
> GTK+ widget, QT widget, components in MS visual studio or anything you
> wanted are good clue to define widgets for C-SWT.
>
> the project will be started from extending basic widget such as Button,
> List, Tree , etc to more complex widget such as calendar, dbTable,
> XMLTreeMapper(for xslt) etc.
>
> so, I wanna survey user requirements here.
> what kind of widget do you want ? ;-)

Hi Andy,

dunno if this would qualify, but I would be very interested in
something I call a 'dragSpinner'. That would be a usual spinner
with two small arrow buttons and a textfield that accepts numbers
only. But in addition, you can klick and drag the textfield up or down
to increase or decrease the value inside, and the change speed is relative
to the vertical distance [current mouse position, mouse down event].

I did hack something like this for swing once, but I am very new to
swt and also not sure the design is very nice, but could post that
if you are interested.
(For some (now forgotten) reason dragging interfered with the textfield
mouse handling, so it was done by bundling another component with the
Spinner, operating on the same model, with its own specialized mouse
listener)

Anyway, this kind of thing is very convenient UI for changing numbers
with the mouse only, and doing it quickly :)

Cheers,
Mathis
Re: C-SWT project is opened / requirement wanted. [message #466349 is a reply to message #466347] Sat, 07 January 2006 20:20 Go to previous messageGo to next message
Sanjay Chaudhuri is currently offline Sanjay ChaudhuriFriend
Messages: 19
Registered: July 2009
Junior Member
Well this remins me of another control, which I would love to see. It is very similar in nature, however applied on table control.

Imagine, you have a table with items, and the first column is a check-box, where you would like to check one or more items. The main problem is, you have to indiviually click those one by one, and this is laborious. It would be better to have a click & drag feature, to have the items automatically checked, when the mouse if clicked and drag. A similar functionality exists in Lotus Domino mail selection.
Re: C-SWT project is opened / requirement wanted. [message #466351 is a reply to message #466302] Sat, 07 January 2006 21:04 Go to previous messageGo to next message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
I would be extremely interested in a natively peered calendar widget. (personally, I'd like it better if it were included with SWT, but, se la vi) AFAIK every platform supports a calendar widget in some form. It shouldn't be too hard to get one working.
Re: C-SWT project is opened / requirement wanted. [message #466352 is a reply to message #466351] Sat, 07 January 2006 22:23 Go to previous messageGo to next message
Sanjay Chaudhuri is currently offline Sanjay ChaudhuriFriend
Messages: 19
Registered: July 2009
Junior Member
I know of 2 opensource calendar controls:
http://sourceforge.net/projects/swt-datepicker/
http://sourceforge.net/projects/jpopupcalendar/

So it would be better to have a different kind of calendar widget. I personally like Windows Date Manager utility a lot. Instead of a single month, they give, 2 months simultaneously. My feel is such flexible customaization should be great for a control.
Re: C-SWT project is opened / requirement wanted. [message #466356 is a reply to message #466352] Sun, 08 January 2006 19:58 Go to previous messageGo to next message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
I am aware of the emulated calendar controls. However, there is currently no native peer implementation, which is what I'm really looking for. It's been talked about for Eclipse 3.2, but AFAIK the whole thing was put on hold for at least anothe release (probably until 4.0). JPopupCalendar is really good and I would recomend it to anyone who wants an emulated calendar (especially considering some of the recent changes in the API to be more SWT friendly). But it doesn't change the fact that it's not a native implementation.
Re: C-SWT project is opened / requirement wanted. [message #466357 is a reply to message #466347] Mon, 09 January 2006 01:59 Go to previous messageGo to next message
andy is currently offline andyFriend
Messages: 10
Registered: July 2009
Junior Member
Mathis Ahrens 쓴 글:
> andy wrote:
>
>>hi all.
>>C-SWT(http://sourceforge.net/projects/c-swt/) project is opened.
>>C-SWT is Customizable (user-defined) SWT Component.
>>C-SWT supports more comportable and higher quality of user interface
>>than eclipse SWT.
>>GTK+ widget, QT widget, components in MS visual studio or anything you
>>wanted are good clue to define widgets for C-SWT.
>>
>>the project will be started from extending basic widget such as Button,
>>List, Tree , etc to more complex widget such as calendar, dbTable,
>>XMLTreeMapper(for xslt) etc.
>>
>>so, I wanna survey user requirements here.
>>what kind of widget do you want ? ;-)
>
>
> Hi Andy,
>
> dunno if this would qualify, but I would be very interested in
> something I call a 'dragSpinner'. That would be a usual spinner
> with two small arrow buttons and a textfield that accepts numbers
> only. But in addition, you can klick and drag the textfield up or down
> to increase or decrease the value inside, and the change speed is relative
> to the vertical distance [current mouse position, mouse down event].
>
> I did hack something like this for swing once, but I am very new to
> swt and also not sure the design is very nice, but could post that
> if you are interested.
> (For some (now forgotten) reason dragging interfered with the textfield
> mouse handling, so it was done by bundling another component with the
> Spinner, operating on the same model, with its own specialized mouse
> listener)
>
> Anyway, this kind of thing is very convenient UI for changing numbers
> with the mouse only, and doing it quickly :)
>
> Cheers,
> Mathis

thanks, Mathis

IMHO, increase or decrease using Drag&Drop is a little bit stranger to me.
what do you think of using wheelmouse moving ?
even if it supports 3-button wheel mouse only. :-)
Re: C-SWT project is opened / requirement wanted. [message #466358 is a reply to message #466356] Mon, 09 January 2006 04:00 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: davidyoung_2001.yahoo.co.uk

See the Nebula project - C-SWT would appear to be trying to achieve the
same things http://www.eclipse.org/proposals/nebula/
Re: C-SWT project is opened / requirement wanted. [message #466359 is a reply to message #466302] Mon, 09 January 2006 09:00 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6651
Registered: July 2009
Senior Member
Hi,

what is the difference of your project to nebula?
http://www.eclipse.org/proposals/nebula/

Tom

andy wrote:
> hi all.
> C-SWT(http://sourceforge.net/projects/c-swt/) project is opened.
> C-SWT is Customizable (user-defined) SWT Component.
> C-SWT supports more comportable and higher quality of user interface
> than eclipse SWT.
> GTK+ widget, QT widget, components in MS visual studio or anything you
> wanted are good clue to define widgets for C-SWT.
>
> the project will be started from extending basic widget such as Button,
> List, Tree , etc to more complex widget such as calendar, dbTable,
> XMLTreeMapper(for xslt) etc.
>
> so, I wanna survey user requirements here.
> what kind of widget do you want ? ;-)
Re: C-SWT project is opened / requirement wanted. [message #466371 is a reply to message #466357] Mon, 09 January 2006 18:59 Go to previous messageGo to next message
Mathis Ahrens is currently offline Mathis AhrensFriend
Messages: 5
Registered: July 2009
Junior Member
andy wrote:
> Mathis Ahrens 쓴 글:
>
>>andy wrote:
>>
>>
>>>hi all.
>>>C-SWT(http://sourceforge.net/projects/c-swt/) project is opened.
>>>C-SWT is Customizable (user-defined) SWT Component.
>>>C-SWT supports more comportable and higher quality of user interface
>>>than eclipse SWT.
>>>GTK+ widget, QT widget, components in MS visual studio or anything you
>>>wanted are good clue to define widgets for C-SWT.
>>>
>>>the project will be started from extending basic widget such as Button,
>>>List, Tree , etc to more complex widget such as calendar, dbTable,
>>>XMLTreeMapper(for xslt) etc.
>>>
>>>so, I wanna survey user requirements here.
>>>what kind of widget do you want ? ;-)
>>
>>
>>Hi Andy,
>>
>>dunno if this would qualify, but I would be very interested in
>>something I call a 'dragSpinner'. That would be a usual spinner
>>with two small arrow buttons and a textfield that accepts numbers
>>only. But in addition, you can klick and drag the textfield up or down
>>to increase or decrease the value inside, and the change speed is relative
>>to the vertical distance [current mouse position, mouse down event].
>>
>>I did hack something like this for swing once, but I am very new to
>>swt and also not sure the design is very nice, but could post that
>>if you are interested.
>>(For some (now forgotten) reason dragging interfered with the textfield
>>mouse handling, so it was done by bundling another component with the
>>Spinner, operating on the same model, with its own specialized mouse
>>listener)
>>
>>Anyway, this kind of thing is very convenient UI for changing numbers
>>with the mouse only, and doing it quickly :)
>>
>>Cheers,
>>Mathis
>
>
> thanks, Mathis
>
> IMHO, increase or decrease using Drag&Drop is a little bit stranger to me.
> what do you think of using wheelmouse moving ?
> even if it supports 3-button wheel mouse only. :-)

I agree that it might seem strange at first, but it has more value than just
a wheel, believe me. Or better - try it yourself:
http://www.chaosfc.de/dragSpinnerTest.jar (12KB runnable jar with src)

Of course, setting *exact* values with the mouse is mostly silly,
but changing a value with the mouse *roughly* is a very common task when
playing with a bunch of parameters and checking out different scenarios,
and this can nicely be done with the mouse.

Especially when you have realtime feedback and, before editing, have no idea
what value will look/sound/smell just right!

Cheers,
Mathis
Re: C-SWT project is opened / requirement wanted. [message #466391 is a reply to message #466359] Tue, 10 January 2006 05:53 Go to previous messageGo to next message
andy is currently offline andyFriend
Messages: 10
Registered: July 2009
Junior Member
Tom Schindl 쓴 글:
> Hi,
>
> what is the difference of your project to nebula?
> http://www.eclipse.org/proposals/nebula/
>
> Tom
>
> andy wrote:
>
>>hi all.
>>C-SWT(http://sourceforge.net/projects/c-swt/) project is opened.
>>C-SWT is Customizable (user-defined) SWT Component.
>>C-SWT supports more comportable and higher quality of user interface
>>than eclipse SWT.
>>GTK+ widget, QT widget, components in MS visual studio or anything you
>>wanted are good clue to define widgets for C-SWT.
>>
>>the project will be started from extending basic widget such as Button,
>>List, Tree , etc to more complex widget such as calendar, dbTable,
>>XMLTreeMapper(for xslt) etc.
>>
>>so, I wanna survey user requirements here.
>>what kind of widget do you want ? ;-)

thanks Tom.

there are so many similar projects in the world

but they show different results.

I should not guarantee that c-swt is better then nebula.

however c-swt is one of good alteratives.


what is the difference of gnome and kde ? :-)
Re: C-SWT project is opened / requirement wanted. [message #466438 is a reply to message #466371] Tue, 10 January 2006 15:30 Go to previous messageGo to next message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
Very nice. I think it would be more intuative (and thus useful) if the user could simply click and drag within the spinner box, but either way, very nice job. I never would have thought of doing it this way. There shouldn't be a problem doing this in SWT draging the instructions style, draging from within the spinner might be a bit rough.
Re: C-SWT project is opened / requirement wanted. [message #466440 is a reply to message #466358] Tue, 10 January 2006 15:31 Go to previous messageGo to next message
Daniel Spiewak is currently offline Daniel SpiewakFriend
Messages: 263
Registered: July 2009
Senior Member
Nebula is great, but a) it's still a proposal, and b) you can never have to many custom widget projects. :-) The more people we have trying to innovate, the more innovation we get. (I know, tough concept) ;-)
Re: C-SWT project is opened / requirement wanted. [message #466523 is a reply to message #466438] Tue, 10 January 2006 23:32 Go to previous message
Mathis Ahrens is currently offline Mathis AhrensFriend
Messages: 5
Registered: July 2009
Junior Member
Daniel Spiewak wrote:
> I think it would be more intuative (and thus useful)
> if the user could simply click and drag within the spinner box,

I thought that too. But it would conflict with ordinary
selection and DnD: only strictly vertical dragging is
undefined, and only when nothing is selected.

It would be hard to separate things.

Second option would be: use the arrows that are already
part of the spinner. But I doubt that it is possible to
override native behaviour?

> There shouldn't be a problem doing this in SWT draging
> the instructions style

Ok, maybe we should be refining this then.
Obviously we just need a place to drag from.
This can be a label or an icon or anything else that
is somehow associated with the spinner.

While it is nice to have a bit of flexibility here,
it may also be convenient to have a consistent extension
for spinners.

How about something like this:

http://www.chaosfc.de/dragSpinnerTest2.jar
(14KB runnable jar with src)

?

Cheers,
Mathis
Previous Topic:create a plugin from source
Next Topic:Bring up the Virtual Keyboard on a PocketPC
Goto Forum:
  


Current Time: Mon Dec 09 09:55:14 GMT 2024

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

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

Back to the top