| org.eclipse.ui.internal.navigator.filters.UpdateActiveFiltersOperation
UpdateActiveFiltersOperation | public class UpdateActiveFiltersOperation extends AbstractOperation (Code) | | Ensures that a given set of filters is active and the complement of
that set of filters are not active.
This operation is smart enough not to force any change if each id in each set
is already in its desired state (active or inactive).
since: 3.2 |
Constructor Summary | |
public | UpdateActiveFiltersOperation(CommonViewer aCommonViewer, String[] theActiveFilterIds, boolean toDisableTheComplement) Create an operation to activate extensions and refresh the viewer.
Parameters: aCommonViewer - The CommonViewer instance to update Parameters: theActiveFilterIds - An array of ids that correspond to the filters that should bein the active state after this operation executes. |
Method Summary | |
public IStatus | execute(IProgressMonitor monitor, IAdaptable info) | public IStatus | redo(IProgressMonitor monitor, IAdaptable info) | public IStatus | undo(IProgressMonitor monitor, IAdaptable info) |
UpdateActiveFiltersOperation | public UpdateActiveFiltersOperation(CommonViewer aCommonViewer, String[] theActiveFilterIds, boolean toDisableTheComplement)(Code) | | Create an operation to activate extensions and refresh the viewer.
Parameters: aCommonViewer - The CommonViewer instance to update Parameters: theActiveFilterIds - An array of ids that correspond to the filters that should bein the active state after this operation executes. Thecomplement of this set will likewise be in the inactivestate after this operation executes. Parameters: toDisableTheComplement - True indicates that all filters not in the set should be made inactive. |
execute | public IStatus execute(IProgressMonitor monitor, IAdaptable info)(Code) | | |
redo | public IStatus redo(IProgressMonitor monitor, IAdaptable info)(Code) | | |
undo | public IStatus undo(IProgressMonitor monitor, IAdaptable info)(Code) | | |
|
|