Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Nebula » Widget proposal: ImageCombo
Widget proposal: ImageCombo [message #46411] Sun, 13 January 2008 14:51 Go to next message
Eclipse UserFriend
Originally posted by: tom.seidel.spiritlink.de

Hi,

I was wondering if there is a need for a combo-widget with images for
nebula. If yes, I could contribute such a widget, see
http://www.richclient2.eu/2006_03_03/enhancing-the-combo-wid get-with-images/

Cheerz,
Tom
Re: Widget proposal: ImageCombo [message #46442 is a reply to message #46411] Sun, 13 January 2008 17:56 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6649
Registered: July 2009
Senior Member
Hi,

I would love to see this widget getting a home at Nebula and I'd
volunteer to write a Viewer ontop of it (which is a fairly trivial task :-).

I have seen many requests on the newsgroups asking for such a widget
because other toolkits also provide this feature.

Tom

Tom Seidel schrieb:
> Hi,
>
> I was wondering if there is a need for a combo-widget with images for
> nebula. If yes, I could contribute such a widget, see
> http://www.richclient2.eu/2006_03_03/enhancing-the-combo-wid get-with-images/
>
>
> Cheerz,
> Tom


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: Widget proposal: ImageCombo [message #46528 is a reply to message #46411] Mon, 14 January 2008 16:21 Go to previous messageGo to next message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
Tom Seidel wrote:
> Hi,
>
> I was wondering if there is a need for a combo-widget with images for
> nebula. If yes, I could contribute such a widget, see
> http://www.richclient2.eu/2006_03_03/enhancing-the-combo-wid get-with-images/
>
>
> Cheerz,
> Tom

This is great work. I have an ImageCombo of my own that is similar to
yours, but not as polished.

I also think any discussion about custom combos should include PCombo.
PCombo was part of SWTPlus before most of it was absorbed into Nebula.

PCombo was nice because you could put any control you wanted in the drop
down. It could be a calendar, color picker, whatever. It took care of
the combo idioms like focus handling, allocating, showing and hiding the
drop down. You in turn had to implement a strategy object that would
create the drop down control, and inform the combo when a selection was
made.

Matthew
Re: Widget proposal: ImageCombo [message #46741 is a reply to message #46442] Wed, 16 January 2008 23:39 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: tom.seidel.spiritlink.de

>I'd volunteer to write a Viewer ontop

Excellent :)

Tom
Re: Widget proposal: ImageCombo [message #46807 is a reply to message #46528] Thu, 17 January 2008 15:19 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
I think there is definitely a need for a combo widget. I have the
PCombo code still somewhere if anyone wants to look at it or use it.
One tricky part with combos is the focus issues. Using standard widgets
inside the combo dropdown will cause the dropdown to get focus. I did
various things in PCombo to try to minimize them but their still there.
You can see titlebar flicker and under Mac its even worse.

If you write your own custom widget as the content in a dropdown and you
don't rely on any standard widgets... and your custom widget is designed
to never take focus, you can avoid these issues.

Regards,
-Chris

Matthew Hall wrote:
> Tom Seidel wrote:
>> Hi,
>>
>> I was wondering if there is a need for a combo-widget with images for
>> nebula. If yes, I could contribute such a widget, see
>> http://www.richclient2.eu/2006_03_03/enhancing-the-combo-wid get-with-images/
>>
>>
>> Cheerz,
>> Tom
>
> This is great work. I have an ImageCombo of my own that is similar to
> yours, but not as polished.
>
> I also think any discussion about custom combos should include PCombo.
> PCombo was part of SWTPlus before most of it was absorbed into Nebula.
>
> PCombo was nice because you could put any control you wanted in the drop
> down. It could be a calendar, color picker, whatever. It took care of
> the combo idioms like focus handling, allocating, showing and hiding the
> drop down. You in turn had to implement a strategy object that would
> create the drop down control, and inform the combo when a selection was
> made.
>
> Matthew
Re: Widget proposal: ImageCombo [message #46837 is a reply to message #46807] Thu, 17 January 2008 15:27 Go to previous messageGo to next message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6649
Registered: July 2009
Senior Member
Chris Gross schrieb:
> I think there is definitely a need for a combo widget. I have the
> PCombo code still somewhere if anyone wants to look at it or use it. One
> tricky part with combos is the focus issues. Using standard widgets
> inside the combo dropdown will cause the dropdown to get focus. I did
> various things in PCombo to try to minimize them but their still there.
> You can see titlebar flicker and under Mac its even worse.
>
> If you write your own custom widget as the content in a dropdown and you
> don't rely on any standard widgets... and your custom widget is designed
> to never take focus, you can avoid these issues.
>

Well CCombo suffers from the same problem IIRC.

Tom

--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: Widget proposal: ImageCombo [message #46866 is a reply to message #46807] Thu, 17 January 2008 15:55 Go to previous messageGo to next message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
Chris Gross wrote:
> I have the
> PCombo code still somewhere if anyone wants to look at it or use it.

You posted it to the newsgroup here:
http://dev.eclipse.org/newslists/news.eclipse.technology.neb ula/msg00514.html

However when asked about license terms you said, "don't pretend you
wrote it," which is more like CC-Attribution rather than EPL. I think
for us to proceed in working on PCombo, you'll need to explicitly make
the contribution under EPL terms. Probably all that's necessary on your
part is to add the EPL license notice to each source file and post a
patch in bugzilla.

Matthew
Re: Widget proposal: ImageCombo [message #46895 is a reply to message #46837] Thu, 17 January 2008 16:17 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
Yea it does and I think it leads to a host of issues. There are quite a
few bugzilla entries bout it.

regards,
-Chris

Tom Schindl wrote:
> Chris Gross schrieb:
>> I think there is definitely a need for a combo widget. I have the
>> PCombo code still somewhere if anyone wants to look at it or use it.
>> One tricky part with combos is the focus issues. Using standard
>> widgets inside the combo dropdown will cause the dropdown to get
>> focus. I did various things in PCombo to try to minimize them but
>> their still there. You can see titlebar flicker and under Mac its
>> even worse.
>>
>> If you write your own custom widget as the content in a dropdown and
>> you don't rely on any standard widgets... and your custom widget is
>> designed to never take focus, you can avoid these issues.
>>
>
> Well CCombo suffers from the same problem IIRC.
>
> Tom
>
Re: Widget proposal: ImageCombo [message #46924 is a reply to message #46866] Thu, 17 January 2008 16:20 Go to previous messageGo to next message
Chris Gross is currently offline Chris GrossFriend
Messages: 253
Registered: July 2009
Senior Member
Well I believe the DPYWI license is EPL compatible :P

I think I've essentially put it in the public domain. Anyone is free to
use it how they wish.

Regards,
-Chris

Matthew Hall wrote:
> Chris Gross wrote:
>> I have the PCombo code still somewhere if anyone wants to look at it
>> or use it.
>
> You posted it to the newsgroup here:
> http://dev.eclipse.org/newslists/news.eclipse.technology.neb ula/msg00514.html
>
>
> However when asked about license terms you said, "don't pretend you
> wrote it," which is more like CC-Attribution rather than EPL. I think
> for us to proceed in working on PCombo, you'll need to explicitly make
> the contribution under EPL terms. Probably all that's necessary on your
> part is to add the EPL license notice to each source file and post a
> patch in bugzilla.
>
> Matthew
Re: Widget proposal: ImageCombo [message #47014 is a reply to message #46924] Thu, 17 January 2008 23:47 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6649
Registered: July 2009
Senior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=205351
might be of intrest for this.

Tom

Chris Gross schrieb:
> Well I believe the DPYWI license is EPL compatible :P
>
> I think I've essentially put it in the public domain. Anyone is free to
> use it how they wish.
>
> Regards,
> -Chris
>
> Matthew Hall wrote:
>> Chris Gross wrote:
>>> I have the PCombo code still somewhere if anyone wants to look at it
>>> or use it.
>>
>> You posted it to the newsgroup here:
>> http://dev.eclipse.org/newslists/news.eclipse.technology.neb ula/msg00514.html
>>
>>
>> However when asked about license terms you said, "don't pretend you
>> wrote it," which is more like CC-Attribution rather than EPL. I think
>> for us to proceed in working on PCombo, you'll need to explicitly make
>> the contribution under EPL terms. Probably all that's necessary on
>> your part is to add the EPL license notice to each source file and
>> post a patch in bugzilla.
>>
>> Matthew


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: Widget proposal: ImageCombo [message #587620 is a reply to message #46411] Sun, 13 January 2008 17:56 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6649
Registered: July 2009
Senior Member
Hi,

I would love to see this widget getting a home at Nebula and I'd
volunteer to write a Viewer ontop of it (which is a fairly trivial task :-).

I have seen many requests on the newsgroups asking for such a widget
because other toolkits also provide this feature.

Tom

Tom Seidel schrieb:
> Hi,
>
> I was wondering if there is a need for a combo-widget with images for
> nebula. If yes, I could contribute such a widget, see
> http://www.richclient2.eu/2006_03_03/enhancing-the-combo-wid get-with-images/
>
>
> Cheerz,
> Tom


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: Widget proposal: ImageCombo [message #587643 is a reply to message #46411] Mon, 14 January 2008 16:21 Go to previous message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
Tom Seidel wrote:
> Hi,
>
> I was wondering if there is a need for a combo-widget with images for
> nebula. If yes, I could contribute such a widget, see
> http://www.richclient2.eu/2006_03_03/enhancing-the-combo-wid get-with-images/
>
>
> Cheerz,
> Tom

This is great work. I have an ImageCombo of my own that is similar to
yours, but not as polished.

I also think any discussion about custom combos should include PCombo.
PCombo was part of SWTPlus before most of it was absorbed into Nebula.

PCombo was nice because you could put any control you wanted in the drop
down. It could be a calendar, color picker, whatever. It took care of
the combo idioms like focus handling, allocating, showing and hiding the
drop down. You in turn had to implement a strategy object that would
create the drop down control, and inform the combo when a selection was
made.

Matthew
Re: Widget proposal: ImageCombo [message #587731 is a reply to message #46442] Wed, 16 January 2008 23:39 Go to previous message
Tom Seidel is currently offline Tom SeidelFriend
Messages: 91
Registered: July 2009
Member
>I'd volunteer to write a Viewer ontop

Excellent :)

Tom
Re: Widget proposal: ImageCombo [message #587757 is a reply to message #46528] Thu, 17 January 2008 15:19 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
I think there is definitely a need for a combo widget. I have the
PCombo code still somewhere if anyone wants to look at it or use it.
One tricky part with combos is the focus issues. Using standard widgets
inside the combo dropdown will cause the dropdown to get focus. I did
various things in PCombo to try to minimize them but their still there.
You can see titlebar flicker and under Mac its even worse.

If you write your own custom widget as the content in a dropdown and you
don't rely on any standard widgets... and your custom widget is designed
to never take focus, you can avoid these issues.

Regards,
-Chris

Matthew Hall wrote:
> Tom Seidel wrote:
>> Hi,
>>
>> I was wondering if there is a need for a combo-widget with images for
>> nebula. If yes, I could contribute such a widget, see
>> http://www.richclient2.eu/2006_03_03/enhancing-the-combo-wid get-with-images/
>>
>>
>> Cheerz,
>> Tom
>
> This is great work. I have an ImageCombo of my own that is similar to
> yours, but not as polished.
>
> I also think any discussion about custom combos should include PCombo.
> PCombo was part of SWTPlus before most of it was absorbed into Nebula.
>
> PCombo was nice because you could put any control you wanted in the drop
> down. It could be a calendar, color picker, whatever. It took care of
> the combo idioms like focus handling, allocating, showing and hiding the
> drop down. You in turn had to implement a strategy object that would
> create the drop down control, and inform the combo when a selection was
> made.
>
> Matthew
Re: Widget proposal: ImageCombo [message #587766 is a reply to message #46807] Thu, 17 January 2008 15:27 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6649
Registered: July 2009
Senior Member
Chris Gross schrieb:
> I think there is definitely a need for a combo widget. I have the
> PCombo code still somewhere if anyone wants to look at it or use it. One
> tricky part with combos is the focus issues. Using standard widgets
> inside the combo dropdown will cause the dropdown to get focus. I did
> various things in PCombo to try to minimize them but their still there.
> You can see titlebar flicker and under Mac its even worse.
>
> If you write your own custom widget as the content in a dropdown and you
> don't rely on any standard widgets... and your custom widget is designed
> to never take focus, you can avoid these issues.
>

Well CCombo suffers from the same problem IIRC.

Tom

--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Re: Widget proposal: ImageCombo [message #587770 is a reply to message #46807] Thu, 17 January 2008 15:55 Go to previous message
Matthew Hall is currently offline Matthew HallFriend
Messages: 368
Registered: July 2009
Senior Member
Chris Gross wrote:
> I have the
> PCombo code still somewhere if anyone wants to look at it or use it.

You posted it to the newsgroup here:
http://dev.eclipse.org/newslists/news.eclipse.technology.neb ula/msg00514.html

However when asked about license terms you said, "don't pretend you
wrote it," which is more like CC-Attribution rather than EPL. I think
for us to proceed in working on PCombo, you'll need to explicitly make
the contribution under EPL terms. Probably all that's necessary on your
part is to add the EPL license notice to each source file and post a
patch in bugzilla.

Matthew
Re: Widget proposal: ImageCombo [message #587780 is a reply to message #46837] Thu, 17 January 2008 16:17 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
Yea it does and I think it leads to a host of issues. There are quite a
few bugzilla entries bout it.

regards,
-Chris

Tom Schindl wrote:
> Chris Gross schrieb:
>> I think there is definitely a need for a combo widget. I have the
>> PCombo code still somewhere if anyone wants to look at it or use it.
>> One tricky part with combos is the focus issues. Using standard
>> widgets inside the combo dropdown will cause the dropdown to get
>> focus. I did various things in PCombo to try to minimize them but
>> their still there. You can see titlebar flicker and under Mac its
>> even worse.
>>
>> If you write your own custom widget as the content in a dropdown and
>> you don't rely on any standard widgets... and your custom widget is
>> designed to never take focus, you can avoid these issues.
>>
>
> Well CCombo suffers from the same problem IIRC.
>
> Tom
>
Re: Widget proposal: ImageCombo [message #587797 is a reply to message #46866] Thu, 17 January 2008 16:20 Go to previous message
Chris Gross is currently offline Chris GrossFriend
Messages: 471
Registered: July 2009
Senior Member
Well I believe the DPYWI license is EPL compatible :P

I think I've essentially put it in the public domain. Anyone is free to
use it how they wish.

Regards,
-Chris

Matthew Hall wrote:
> Chris Gross wrote:
>> I have the PCombo code still somewhere if anyone wants to look at it
>> or use it.
>
> You posted it to the newsgroup here:
> http://dev.eclipse.org/newslists/news.eclipse.technology.neb ula/msg00514.html
>
>
> However when asked about license terms you said, "don't pretend you
> wrote it," which is more like CC-Attribution rather than EPL. I think
> for us to proceed in working on PCombo, you'll need to explicitly make
> the contribution under EPL terms. Probably all that's necessary on your
> part is to add the EPL license notice to each source file and post a
> patch in bugzilla.
>
> Matthew
Re: Widget proposal: ImageCombo [message #587815 is a reply to message #46924] Thu, 17 January 2008 23:47 Go to previous message
Thomas Schindl is currently offline Thomas SchindlFriend
Messages: 6649
Registered: July 2009
Senior Member
https://bugs.eclipse.org/bugs/show_bug.cgi?id=205351
might be of intrest for this.

Tom

Chris Gross schrieb:
> Well I believe the DPYWI license is EPL compatible :P
>
> I think I've essentially put it in the public domain. Anyone is free to
> use it how they wish.
>
> Regards,
> -Chris
>
> Matthew Hall wrote:
>> Chris Gross wrote:
>>> I have the PCombo code still somewhere if anyone wants to look at it
>>> or use it.
>>
>> You posted it to the newsgroup here:
>> http://dev.eclipse.org/newslists/news.eclipse.technology.neb ula/msg00514.html
>>
>>
>> However when asked about license terms you said, "don't pretend you
>> wrote it," which is more like CC-Attribution rather than EPL. I think
>> for us to proceed in working on PCombo, you'll need to explicitly make
>> the contribution under EPL terms. Probably all that's necessary on
>> your part is to add the EPL license notice to each source file and
>> post a patch in bugzilla.
>>
>> Matthew


--
B e s t S o l u t i o n . at
------------------------------------------------------------ --------
Tom Schindl JFace-Committer
------------------------------------------------------------ --------
Previous Topic:Grid row headers
Next Topic:Grid selection background color when not in focus
Goto Forum:
  


Current Time: Thu Dec 01 14:53:13 GMT 2022

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

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

Back to the top