Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » [DataBinding] Setting IUpdatableValue to null
[DataBinding] Setting IUpdatableValue to null [message #443738] Fri, 03 February 2006 13:34 Go to next message
Andrey Bondarenko is currently offline Andrey BondarenkoFriend
Messages: 84
Registered: July 2009
Member
Hi!

I`m implementing AutoCompleteComboDecorator and behaviour is : as soon as
user has inputed wrong word (which is not in the list of the combo) I want
to set value of the IUpdatableValue variable binded to my combobox viewer
to NULL. So every object binded to this value will also be null.

Questions:

1. Is this approach is Ok?
2. How to do that?

Here is my code for setting updatableValue in decorator:

this.selectedUpdatableValue.setValue(null);

But seems that it is wrong, how to handle this use case?
Re: [DataBinding] Setting IUpdatableValue to null [message #443739 is a reply to message #443738] Fri, 03 February 2006 14:10 Go to previous messageGo to next message
Andrey Bondarenko is currently offline Andrey BondarenkoFriend
Messages: 84
Registered: July 2009
Member
Well, now I`m just calling method select on my combobox.
Re: [DataBinding] Setting IUpdatableValue to null [message #444220 is a reply to message #443739] Fri, 10 February 2006 22:55 Go to previous messageGo to next message
Boris Bokowski is currently offline Boris BokowskiFriend
Messages: 272
Registered: July 2009
Senior Member
Sorry for not responding earlier - if you are not happy with the solution
you found, please enter a bug, preferably with a little code snippet.

Thanks,
Boris

"Andrey Bondarenko" <noban@yandex.ru> wrote in message
news:eb5468b7008293c5f09c3d55bd853010$1@www.eclipse.org...
> Well, now I`m just calling method select on my combobox.
>
Re: [DataBinding] Setting IUpdatableValue to null [message #444261 is a reply to message #444220] Mon, 13 February 2006 07:39 Go to previous message
Andrey Bondarenko is currently offline Andrey BondarenkoFriend
Messages: 84
Registered: July 2009
Member
Thank`s Boris.

I`ve submitted a bug:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=127429
Previous Topic:[DataBinding] Binding nested props. in comboboxes
Next Topic:Exception in disposing off Coolbar
Goto Forum:
  


Current Time: Thu Dec 26 14:23:05 GMT 2024

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

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

Back to the top