Re: Need a multi-column list widget for SWT [message #50336] |
Tue, 04 March 2008 11:30  |
Eclipse User |
|
|
|
Martin,
This is the SWT newsgroup. The Nebula controls are supported on the
eclipse.technology.nebula newsgroup. I am copying your question there
as these are the right people to answer your question. I have not
actually used Gallery beyond a cursory glance--Nicolas Richeton is the
Gallery maintainer and should be able to help you.
Matthew
Martin Thompson wrote:
> For both the grid and gallery stuff ffrom Nebula I get errors similar to (or
> exactly the same as):
> java.lang.Error: Unresolved compilation problems:
>
> The constructor Grid(Shell, int) is undefined
>
> The method setText(String) is undefined for the type GridColumn
>
>
> at main.GridSnippet1.main(GridSnippet1.java:35)
>
> Exception in thread "main"
>
>
>
> Any ideas why there examples don't refer to existing methods and
> constructors???
>
>
>
> "Matthew Hall" <matthall@woodcraftmill.com> wrote in message
> news:fqhp7o$5fc$1@build.eclipse.org...
>> Take a look at the API javadocs--I believe this is supported. It was
>> designed for photos but you can just as easily create a GalleryItem, set
>> the text property, and leave the image property null.
>>
>> Matthew
>>
>> Martin Thompson wrote:
>>> The gallery control appears to be for photo galleries... I just want a
>>> multi-selectable list of text strings.
>>>
>>> "Matthew Hall" <matthall@woodcraftmill.com> wrote in message
>>> news:fqhfg0$bsq$1@build.eclipse.org...
>>>> It sounds like you want a control like Windows Explorer while in "List"
>>>> view. I'm don't know of any SWT controls that do this, however the
>>>> Nebula Gallery control might come close:
>>>>
>>>> http://www.eclipse.org/nebula/widgets/gallery/gallery.php
>>>>
>>>> The Nebula project is supported on the eclipse.technology.nebula
>>>> newsgroup.
>>>>
>>>> Good luck,
>>>>
>>>> Matthew
>>>>
>>>> Martin Thompson wrote:
>>>>> Is there such a beast? I don't need much functionality just
>>>>> 1) the ability to do wrapping to new column after x number of entries
>>>>> in a list
>>>>> 2) multi-selection of list entries
>>>>> 3) ability to specify number of rows/columns in the list
>>>>>
>>>>> Any ideas? This doesn't seem like a lot to ask... and it has been asked
>>>>> before on the web ... just not sure if it has been addressed here...
>>>>> but didn't find it in a search...
>>>>>
>>>>> regards,
>>>>> Martin
>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Re: Need a multi-column list widget for SWT [message #588892 is a reply to message #50336] |
Tue, 04 March 2008 13:26  |
Eclipse User |
|
|
|
Thanks Matthew...
Here's what I want to do... has anyone used Gallery for something simple and
text-based like this?
Point taken Robert...
Attached is a mockup... I need up to 480 3-character channels to be
displayed in the left hand list. I need them wrapped alphanumerically from
left to right each time the individual columns are filled from top to
bottom. As channels are selected (individually or multiples) in the left
hand (multi-column list) they can be moved with the [>] button to the right
hand list (Selected). I get the two lists idea. Really I do.
"Robert B" <oh1226@hotmail.com> wrote in message
news:fqi0qf$3ct$2@build.eclipse.org...
> Your description is not very clear!
>
> My guess is that you want to have a list of items with multiple
> selections.
> Then you want to put them to another list? Should it be simple?
> Use two lists!
>
> Regards.
>
>
------------------------------------------------------------ --------------------
"Matthew Hall" <matthall@woodcraftmill.com> wrote in message
news:fqjteu$mnr$1@build.eclipse.org...
> Martin,
>
> This is the SWT newsgroup. The Nebula controls are supported on the
> eclipse.technology.nebula newsgroup. I am copying your question there
> as these are the right people to answer your question. I have not
> actually used Gallery beyond a cursory glance--Nicolas Richeton is the
> Gallery maintainer and should be able to help you.
>
> Matthew
>
> Martin Thompson wrote:
>> For both the grid and gallery stuff ffrom Nebula I get errors similar to
>> (or
>> exactly the same as):
>> java.lang.Error: Unresolved compilation problems:
>>
>> The constructor Grid(Shell, int) is undefined
>>
>> The method setText(String) is undefined for the type GridColumn
>>
>>
>> at main.GridSnippet1.main(GridSnippet1.java:35)
>>
>> Exception in thread "main"
>>
>>
>>
>> Any ideas why there examples don't refer to existing methods and
>> constructors???
>>
>>
>>
>> "Matthew Hall" <matthall@woodcraftmill.com> wrote in message
>> news:fqhp7o$5fc$1@build.eclipse.org...
>>> Take a look at the API javadocs--I believe this is supported. It was
>>> designed for photos but you can just as easily create a GalleryItem, set
>>> the text property, and leave the image property null.
>>>
>>> Matthew
>>>
>>> Martin Thompson wrote:
>>>> The gallery control appears to be for photo galleries... I just want a
>>>> multi-selectable list of text strings.
>>>>
>>>> "Matthew Hall" <matthall@woodcraftmill.com> wrote in message
>>>> news:fqhfg0$bsq$1@build.eclipse.org...
>>>>> It sounds like you want a control like Windows Explorer while in
>>>>> "List"
>>>>> view. I'm don't know of any SWT controls that do this, however the
>>>>> Nebula Gallery control might come close:
>>>>>
>>>>> http://www.eclipse.org/nebula/widgets/gallery/gallery.php
>>>>>
>>>>> The Nebula project is supported on the eclipse.technology.nebula
>>>>> newsgroup.
>>>>>
>>>>> Good luck,
>>>>>
>>>>> Matthew
>>>>>
>>>>> Martin Thompson wrote:
>>>>>> Is there such a beast? I don't need much functionality just
>>>>>> 1) the ability to do wrapping to new column after x number of entries
>>>>>> in a list
>>>>>> 2) multi-selection of list entries
>>>>>> 3) ability to specify number of rows/columns in the list
>>>>>>
>>>>>> Any ideas? This doesn't seem like a lot to ask... and it has been
>>>>>> asked
>>>>>> before on the web ... just not sure if it has been addressed here...
>>>>>> but didn't find it in a search...
>>>>>>
>>>>>> regards,
>>>>>> Martin
>>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.06493 seconds