public void fillFilters(StructuredViewer viewer) { ViewerFilter workingSetFilter = fFilterActionGroup.getWorkingSetFilter(); if (fMode == SHOW_PROJECTS) { viewer.addFilter(workingSetFilter); } else { viewer.removeFilter(workingSetFilter); } }
@Override public void dispose() { fFilterActionGroup.dispose(); fShowActionGroup.dispose(); fChangeListener = null; ISelectionProvider selectionProvider = fSite.getSelectionProvider(); selectionProvider.removeSelectionChangedListener(fWorkingSetAssignementAction); super.dispose(); }
public void saveState(IMemento memento) { fFilterActionGroup.saveState(memento); }
public void restoreState(IMemento memento) { fFilterActionGroup.restoreState(memento); }