Package org.eclipse.core.runtime

Examples of org.eclipse.core.runtime.Preferences.propertyNames()


   */
   private void updatePreferences(IEclipsePreferences preferences) {
    
     Preferences oldPreferences = loadPreferences();
     if (oldPreferences != null) {
       String[] propertyNames = oldPreferences.propertyNames();
      for (int i = 0; i < propertyNames.length; i++){
        String propertyName = propertyNames[i];
          String propertyValue = oldPreferences.getString(propertyName);
          if (!"".equals(propertyValue)) { //$NON-NLS-1$
            preferences.put(propertyName, propertyValue);
View Full Code Here


        }
      }
    } else {
      Preferences preferences = FormatterCorePlugin.getDefault()
          .getPluginPreferences();
      String[] propetiesNames = preferences.propertyNames();
      for (int i = 0; i < propetiesNames.length; i++) {
        String property = propetiesNames[i];
        String value = preferences.getString(property);
        if (value != null) {
          p.put(property, value);
View Full Code Here

        }
      }
    } else {
      Preferences preferences = FormatterCorePlugin.getDefault()
          .getPluginPreferences();
      String[] propetiesNames = preferences.propertyNames();
      for (int i = 0; i < propetiesNames.length; i++) {
        String property = propetiesNames[i];
        String value = preferences.getString(property);
        if (value != null) {
          p.put(property, value);
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.