org.eclipse.core.runtime.Preferences.IPropertyChangeListener Java Examples

The following examples show how to use org.eclipse.core.runtime.Preferences.IPropertyChangeListener. 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: OldMechanicPreferences.java    From workspacemechanic with Eclipse Public License 1.0 4 votes vote down vote up
public static void addListener(IPropertyChangeListener listener) {
  Preferences prefs = getPreferences();
  prefs.addPropertyChangeListener(listener);
}
 
Example #2
Source File: OldMechanicPreferences.java    From workspacemechanic with Eclipse Public License 1.0 4 votes vote down vote up
public static void removeListener(IPropertyChangeListener listener) {
  Preferences prefs = getPreferences();
  prefs.removePropertyChangeListener(listener);
}
 
Example #3
Source File: MechanicPreferences.java    From workspacemechanic with Eclipse Public License 1.0 4 votes vote down vote up
public void addListener(IPropertyChangeListener listener) {
  OldMechanicPreferences.addListener(listener);
}
 
Example #4
Source File: MechanicPreferences.java    From workspacemechanic with Eclipse Public License 1.0 4 votes vote down vote up
public void removeListener(IPropertyChangeListener listener) {
  OldMechanicPreferences.removeListener(listener);
}
 
Example #5
Source File: IMechanicPreferences.java    From workspacemechanic with Eclipse Public License 1.0 votes vote down vote up
void addListener(IPropertyChangeListener listener); 
Example #6
Source File: IMechanicPreferences.java    From workspacemechanic with Eclipse Public License 1.0 votes vote down vote up
void removeListener(IPropertyChangeListener listener);