Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Remote Application Platform (RAP) » ComboViewer not nullable?
icon5.gif  ComboViewer not nullable? [message #506921] Mon, 11 January 2010 11:07 Go to next message
habakuk  is currently offline habakuk Friend
Messages: 32
Registered: October 2009
Member
Dear all!

I already posted this on the JFace group, but did not get much response. Maybe this is a RAP issue. I'm looking for a way to reset a read only ComboViewer. Once an item was selected I cannot deselect it.

Combo.setSelection(StructuredSelection.EMPTY)


Did not work. Neither all other variations. Even if I delete all items from the Combo, the last selected item is still displayed (though it is not in the selection list any more).

Did anybody try this in a RAP application? It looks kind of strange to me that there is no method to set a ComboViewer to null.

Thanks for any help
Re: ComboViewer not nullable? [message #506924 is a reply to message #506921] Mon, 11 January 2010 11:16 Go to previous messageGo to next message
Benjamin Wolff is currently offline Benjamin WolffFriend
Messages: 136
Registered: July 2009
Senior Member
Hi,

i already had this issue with the combo widget. this bug has been fixed in 1.3 M4:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=295500
which RAP version do you use?

greetings,
-ben



Am 11.01.2010 12:07, schrieb habakuk:
> Dear all!
>
> I already posted this on the JFace group, but did not get much response.
> Maybe this is a RAP issue. I'm looking for a way to reset a read only
> ComboViewer. Once an item was selected I cannot deselect it.
>
> Combo.setSelection(StructuredSelection.EMPTY)
>
>
> Did not work. Neither all other variations. Even if I delete all items
> from the Combo, the last selected item is still displayed (though it is
> not in the selection list any more).
>
> Did anybody try this in a RAP application? It looks kind of strange to
> me that there is no method to set a ComboViewer to null.
>
> Thanks for any help
icon14.gif  Re: ComboViewer not nullable? [message #507181 is a reply to message #506924] Tue, 12 January 2010 07:07 Go to previous message
habakuk  is currently offline habakuk Friend
Messages: 32
Registered: October 2009
Member
Thank's a lot Ben! That solved it Very Happy
Previous Topic:statemask in mouse events
Next Topic:Runnning RAP application on tomcat - getting exception
Goto Forum:
  


Current Time: Fri Apr 19 22:10:47 GMT 2024

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

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

Back to the top