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

plot - Remove Objects from Legend When You Have Also Used Fit, Matlab -

java - Why does my date parsing return a weird date? -

Need help in packaging app using TideSDK on Windows -