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

The following examples show how to use org.eclipse.core.runtime.preferences.IPreferenceFilter. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: WorkspacePreferences.java    From gama with GNU General Public License v3.0 6 votes vote down vote up
public static IPreferenceFilter[] getPreferenceFilters() {
	final IPreferenceFilter[] 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() {

		@Override
		public String[] getScopes() {
			return new String[] { InstanceScope.SCOPE };
		}

		@Override
		public Map<String, PreferenceFilterEntry[]> getMapping(final String scope) {
			return null;
		}
	};

	return transfers;
}
 
Example #2
Source File: PreferenceServiceImpl.java    From ganttproject with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void applyPreferences(IEclipsePreferences node, IPreferenceFilter[] filters) throws CoreException {
  // TODO Auto-generated method stub

}
 
Example #3
Source File: PreferenceServiceImpl.java    From ganttproject with GNU General Public License v3.0 4 votes vote down vote up
@Override
public void exportPreferences(IEclipsePreferences node, IPreferenceFilter[] filters, OutputStream output)
    throws CoreException {
  // TODO Auto-generated method stub

}
 
Example #4
Source File: PreferenceServiceImpl.java    From ganttproject with GNU General Public License v3.0 4 votes vote down vote up
@Override
public IPreferenceFilter[] matches(IEclipsePreferences node, IPreferenceFilter[] filters) throws CoreException {
  // TODO Auto-generated method stub
  return null;
}