public class FilterAction
extends org.eclipse.jface.action.Action
Do note that each distinct FilterAction
in the filter menu
is considered
as an "exclude" filter, and that they are OR'ed together (thus, any element must not meet the
selected filters' criteria in order to be displayed).
Constructor and Description |
---|
FilterAction(String text,
StructureMergeViewerFilter structureMergeViewerFilter,
IDifferenceFilter filter)
The "default" constructor for this action.
|
Modifier and Type | Method and Description |
---|---|
void |
runWithEvent(org.eclipse.swt.widgets.Event event) |
convertAccelerator, convertAccelerator, findKeyCode, findKeyString, findModifier, findModifierString, getAccelerator, getActionDefinitionId, getDescription, getDisabledImageDescriptor, getHelpListener, getHoverImageDescriptor, getId, getImageDescriptor, getMenuCreator, getStyle, getText, getToolTipText, isChecked, isEnabled, isHandled, notifyResult, removeAcceleratorText, removeMnemonics, run, setAccelerator, setActionDefinitionId, setChecked, setDescription, setDisabledImageDescriptor, setEnabled, setHelpListener, setHoverImageDescriptor, setId, setImageDescriptor, setMenuCreator, setText, setToolTipText
addPropertyChangeListener, firePropertyChange, firePropertyChange, removePropertyChangeListener
public FilterAction(String text, StructureMergeViewerFilter structureMergeViewerFilter, IDifferenceFilter filter)
text
- Will be used as the action's tooltip.structureMergeViewerFilter
- The viewer filter that this action will need to update.filter
- The filter associated with this action.
Copyright (c) 2006, 2015 Obeo and others. All rights reserved.