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
Post a Comment