Examples of IPreferenceFilter


Examples of org.eclipse.core.runtime.preferences.IPreferenceFilter

      // export all
      transfers = new IPreferenceFilter[1];

      // For export all create a preference filter that can export
      // all nodes of the Instance and Configuration scopes
      transfers[0] = new IPreferenceFilter() {

        public String[] getScopes() {
          return new String[] { InstanceScope.SCOPE,
              ConfigurationScope.SCOPE };
        }
View Full Code Here

Examples of org.eclipse.core.runtime.preferences.IPreferenceFilter

                }
                IPreferenceFilter[] matches = service.matches(prefs, filters);
                PreferenceTransferElement[] returnTransfers = new PreferenceTransferElement[matches.length];
                int index = 0;
                for (int i = 0; i < matches.length; i++) {
                    IPreferenceFilter filter = matches[i];
                    for (int j = 0; j < transfers.length; j++) {
                        PreferenceTransferElement element = transfers[j];
                        if (element.getFilter().equals(filter)) {
              returnTransfers[index++] = element;
            }                       
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.