java - JFace and FieldEditor -


from eclipse rcp, i'm building preference page using field editors (http://www.eclipse.org/articles/article-field-editors/field_editors.html)

i'm trying use field editor booleanfieldeditor, subclass of fieldeditor.

my issue in javadoc, don't find function change state (checked/unchecked) of field editor.

where setchecked(boolean) function? :-) missed something?

you accessing preference store's apis.

getpreferencestore().setvalue(preferenceid, value); 

where preferenceid name of boolean preference
(i.e. new booleanfieldeditor(preferenceid, label, parent);), , value true/false.

you current value id

getpreferencestore().getboolean(preferenceid); 

Comments

Popular posts from this blog

image - ClassNotFoundException when add a prebuilt apk into system.img in android -

I need to import mysql 5.1 to 5.5? -

Java, Hibernate, MySQL - store UTC date-time -