Package org.eclipse.jface.preference

Examples of org.eclipse.jface.preference.FieldEditor.loadDefault()


    @Override
    void setValue(T value, E tabElements) {
      FieldEditor fieldEditor = getFieldEditor(tabElements);
      fieldType.setStoreDefaultValue(fieldEditor.getPreferenceStore(),
          fieldEditor.getPreferenceName(), value);
      fieldEditor.loadDefault();
    }

    @Override
    T getValue(E tabElements) {
      FieldEditor fieldEditor = getFieldEditor(tabElements);
View Full Code Here


    for (Iterator<FieldEditor> i = this.fieldEditors.iterator(); i.hasNext();) {
      FieldEditor fieldEditor = (FieldEditor) i.next();
      if (fieldEditor != null) {
        fieldEditor.setPreferenceStore(this.store);
        if (isDefautLoaded) {
          fieldEditor.loadDefault();
        }
        else {
          fieldEditor.load();
        }
      }
View Full Code Here

    for (Iterator<Object[]> i = this.fields.iterator(); i.hasNext();) {
      Object[] object = i.next();
      FieldEditor fieldEditor = (FieldEditor) object[0];
      fieldEditor.setPreferenceStore(this.store);
      if (isDefautLoaded) {
        fieldEditor.loadDefault();
      }
      else {
        fieldEditor.load();
      }
    }
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.