/** * Uninstalls this support from the preference store it has previously been * installed on. If there is no such preference store, this call is without * effect. */ public void uninstall() { if (fPreferenceStore != null) { fPreferenceStore.removePropertyChangeListener(fPropertyChangeListener); fPropertyChangeListener= null; fPreferenceStore= null; } }
/** * Uninstalls this support from the preference store it has previously been * installed on. If there is no such preference store, this call is without * effect. */ public void uninstall() { if (fPreferenceStore != null) { fPreferenceStore.removePropertyChangeListener(fPropertyChangeListener); fPropertyChangeListener= null; fPreferenceStore= null; } }
/** * Stops the auto-updating behavior started by calling * {@link #startListeningForPreferenceChanges()}. * * @since 3.2 */ public final void stopListeningForPreferenceChanges() { if (fPropertyListener != null) { fPreferenceStore.removePropertyChangeListener(fPropertyListener); fPropertyListener= null; } }
/** * Stops to listen for changes. */ public void stop() { if (fPropertyListener != null) { fParent.removePropertyChangeListener(fPropertyListener); fPropertyListener= null; } }
public void stop() { if (fPropertyListener != null) { fParent.removePropertyChangeListener(fPropertyListener); fPropertyListener = null; } }
@Override public void widgetDisposed(org.eclipse.swt.events.DisposeEvent e) { combinedStore.removePropertyChangeListener(propertyChangeListener); } });
public void uninstallColoredLabels(StructuredViewer viewer) { ManagedViewer mv= (ManagedViewer) fManagedViewers.remove(viewer); if (mv == null) return; // not installed if (fManagedViewers.isEmpty()) { PreferenceConstants.getPreferenceStore().removePropertyChangeListener(this); fColorRegisty.removeListener(this); // last viewer uninstalled } }
public void uninstall() { uninstallSelectionListener(); if (fPropertyChangeListener != null) { PreferenceConstants.getPreferenceStore().removePropertyChangeListener(fPropertyChangeListener); fPropertyChangeListener= null; } }
@Override public void widgetDisposed(DisposeEvent e) { preferenceStore.removePropertyChangeListener(propertyChangeListener); JFaceResources.getFontRegistry().removeListener(fontChangeListener); } });
void dispose() { if (filterPreferenceListener != null) { IDEWorkbenchPlugin.getDefault().getPreferenceStore().removePropertyChangeListener(filterPreferenceListener); filterPreferenceListener = null; } } }
@Override public void widgetDisposed(DisposeEvent e) { preferenceStore.removePropertyChangeListener(propertyChangeListener); JFaceResources.getFontRegistry().removeListener(fontChangeListener); } });
@Override public void widgetDisposed(DisposeEvent e) { JFaceResources.getFontRegistry().removeListener(fontListener); fPreferenceStore.removePropertyChangeListener(propertyListener); } });
public void dispose(){ JavaPlugin.getDefault().getPreferenceStore().removePropertyChangeListener(this); fMapToLogicalPackage= null; fMapToPackageFragments= null; }
@Override public void shutdown() { JavaPlugin.getDefault().getPreferenceStore().removePropertyChangeListener(fPropertyListener); Iterator<?> e= getConnectedElementsIterator(); while (e.hasNext()) disconnect(e.next()); fFakeCUMapForMissingInfo.clear(); }
/** * Uninstalls backwards compatibility for the preference store. */ private void uninstallPreferenceStoreBackwardsCompatibility() { JFaceResources.getFontRegistry().removeListener(fFontPropertyChangeListener); getPreferenceStore().removePropertyChangeListener(fPropertyChangeListener); }
public void dispose() { fActionGroup.dispose(); SearchPlugin.getDefault().getPreferenceStore().removePropertyChangeListener(fPropertyChangeListener); super.dispose(); }
@Override public void run() { IPreferenceStore store = getPreferenceStore(); boolean show = isChecked(); store.removePropertyChangeListener(this); store.setValue(getKey(), show); store.addPropertyChangeListener(this); }
@Override public void run() { ITextEditor editor= getTextEditor(); if (editor == null) return; boolean showHover= !fStore.getBoolean(PreferenceConstants.EDITOR_SHOW_HOVER); setChecked(showHover); fStore.removePropertyChangeListener(this); fStore.setValue(PreferenceConstants.EDITOR_SHOW_HOVER, showHover); fStore.addPropertyChangeListener(this); }
public void widgetDisposed(DisposeEvent e) { EditorsUI.getPreferenceStore().removePropertyChangeListener( editorPrefListener); PlatformUI.getWorkbench().getThemeManager() .removePropertyChangeListener(themeListener); colors.dispose(); } });
/** * Must be called when an advisor is no longer needed. */ public void dispose() { if (getActionGroup() != null) { getActionGroup().dispose(); } if (statusLine != null) statusLine.dispose(); TeamUIPlugin.getPlugin().getPreferenceStore().removePropertyChangeListener(propertyListener); }