Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » setBooleanValue() missing in BooleanFieldEditor ?
setBooleanValue() missing in BooleanFieldEditor ? [message #289618] Tue, 09 August 2005 09:30 Go to next message
Vincent Etter is currently offline Vincent EtterFriend
Messages: 72
Registered: July 2009
Member
Hello !

I use field editors in my preferences pages and I want to use a
BooleanFieldEditor. How could I set the value of a BooleanFieldEditor ?

As there is a getBooleanValue() method, I was expecting a
setBooleanValue() method. Am I completly wrong or is this feature missing ?

Thanks !

Vincent
Re: setBooleanValue() missing in BooleanFieldEditor ? [message #289724 is a reply to message #289618] Wed, 10 August 2005 09:57 Go to previous messageGo to next message
Andreas Herz is currently offline Andreas HerzFriend
Messages: 196
Registered: July 2009
Senior Member
Hi

I miss this feature too. I use a combobox instead :-|


greetings

Andreas


Vincent Etter wrote:
> Hello !
>
> I use field editors in my preferences pages and I want to use a
> BooleanFieldEditor. How could I set the value of a BooleanFieldEditor ?
>
> As there is a getBooleanValue() method, I was expecting a
> setBooleanValue() method. Am I completly wrong or is this feature missing ?
>
> Thanks !
>
> Vincent
Re: setBooleanValue() missing in BooleanFieldEditor ? [message #289769 is a reply to message #289618] Wed, 10 August 2005 17:02 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

That's because the BooleanFieldEditor is a FieldEditor, and FieldEditors
expect to work with PreferenceStores. It gets/sets the values through
the preference store, not outside of it.

The name of the preference is set through the BooleanFieldEditor's
constructor and the preference store is set by the
FieldEditorPreferencePage.


--
Thanks,
Rich Kulp
Re: setBooleanValue() missing in BooleanFieldEditor ? [message #289775 is a reply to message #289769] Wed, 10 August 2005 17:25 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: vlad_dumitrescu.hotmail.com

Then why is there a setString() method in StringFieldEditor?

regards,
Vlad


"Rich Kulp" <richkulp@us.NO_SPAM.ibm.com> skrev i meddelandet
news:dddbvt$595$1@news.eclipse.org...
> That's because the BooleanFieldEditor is a FieldEditor, and FieldEditors
> expect to work with PreferenceStores. It gets/sets the values through the
> preference store, not outside of it.
>
> The name of the preference is set through the BooleanFieldEditor's
> constructor and the preference store is set by the
> FieldEditorPreferencePage.
>
>
> --
> Thanks,
> Rich Kulp
Re: setBooleanValue() missing in BooleanFieldEditor ? [message #289781 is a reply to message #289775] Wed, 10 August 2005 18:11 Go to previous message
Eclipse UserFriend
Originally posted by: richkulp.us.NO_SPAM.ibm.com

That's apparently a mistake. None of the other field editors allow that.

Vlad wrote:
> Then why is there a setString() method in StringFieldEditor?
>


--
Thanks,
Rich Kulp
Previous Topic:No features found on the selected site(s)
Next Topic:Unable to find feature.xml
Goto Forum:
  


Current Time: Fri Mar 29 14:45:19 GMT 2024

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

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

Back to the top