Java Code Examples for org.eclipse.ui.preferences.IWorkingCopyManager#getWorkingCopy()
The following examples show how to use
org.eclipse.ui.preferences.IWorkingCopyManager#getWorkingCopy() .
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: PreferenceKey.java From xds-ide with Eclipse Public License 1.0 | 5 votes |
public static void addChangeListener(IScopeContext context, IWorkingCopyManager manager, String qualifier, IPreferenceChangeListener listener) { IEclipsePreferences node= context.getNode(qualifier); if (manager != null) { node = manager.getWorkingCopy(node); } node.addPreferenceChangeListener(listener); }
Example 2
Source File: PreferenceKey.java From xds-ide with Eclipse Public License 1.0 | 5 votes |
public static void removeChangeListener(IScopeContext context, IWorkingCopyManager manager, String qualifier, IPreferenceChangeListener listener) { IEclipsePreferences node= context.getNode(qualifier); if (manager != null) { node = manager.getWorkingCopy(node); } node.removePreferenceChangeListener(listener); }
Example 3
Source File: PreferenceKey.java From xds-ide with Eclipse Public License 1.0 | 5 votes |
private IEclipsePreferences getNode(IScopeContext context, IWorkingCopyManager manager) { IEclipsePreferences node= context.getNode(fQualifier); if (manager != null) { return manager.getWorkingCopy(node); } return node; }
Example 4
Source File: OptionsConfigurationBlock.java From typescript.java with MIT License | 5 votes |
private IEclipsePreferences getNode(IScopeContext context, IWorkingCopyManager manager) { IEclipsePreferences node = context.getNode(fQualifier); if (manager != null) { return manager.getWorkingCopy(node); } return node; }
Example 5
Source File: PreferenceKey.java From APICloud-Studio with GNU General Public License v3.0 | 5 votes |
private IEclipsePreferences getNode(IScopeContext context, IWorkingCopyManager manager) { IEclipsePreferences node = context.getNode(fQualifier); if (manager != null) { return manager.getWorkingCopy(node); } return node; }
Example 6
Source File: OptionsConfigurationBlock.java From Eclipse-Postfix-Code-Completion with Eclipse Public License 1.0 | 5 votes |
private IEclipsePreferences getNode(IScopeContext context, IWorkingCopyManager manager) { IEclipsePreferences node= context.getNode(fQualifier); if (manager != null) { return manager.getWorkingCopy(node); } return node; }