Class SearchAction
java.lang.Object
org.eclipse.nebula.widgets.nattable.search.action.SearchAction
- All Implemented Interfaces:
IKeyAction
An action for opening a Find dialog on a NatTable. Supports both modal and
non-modal (i.e., sharable) Find dialog behavior.
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionConstructs an action with a modal Find dialog.SearchAction(NatTable natTable, org.eclipse.jface.dialogs.IDialogSettings dialogSettings) Constructs an action with a non-modal (i.e., sharable) Find dialog.SearchAction(NatTable natTable, org.eclipse.jface.dialogs.IDialogSettings dialogSettings, SearchAction.SearchDialogCreator creator) Constructs an action with a non-modal (i.e., sharable) Find dialog.Constructs an action with a modal Find dialog that is created via the given creator function -
Method Summary
Modifier and TypeMethodDescriptionvoidprotected void
-
Constructor Details
-
SearchAction
public SearchAction()Constructs an action with a modal Find dialog. -
SearchAction
Constructs an action with a modal Find dialog that is created via the given creator function- Parameters:
creator- TheSearchAction.SearchDialogCreatorused to create the find dialog.- Since:
- 2.3
-
SearchAction
Constructs an action with a non-modal (i.e., sharable) Find dialog.- Parameters:
natTable- The NatTable instance to perform the search action on.dialogSettings- The dialog settings that should be used to create the search dialog.
-
SearchAction
public SearchAction(NatTable natTable, org.eclipse.jface.dialogs.IDialogSettings dialogSettings, SearchAction.SearchDialogCreator creator) Constructs an action with a non-modal (i.e., sharable) Find dialog.- Parameters:
natTable- The NatTable instance to perform the search action on.dialogSettings- The dialog settings that should be used to create the search dialog.creator- TheSearchAction.SearchDialogCreatorused to create the find dialog.- Since:
- 2.3
-
-
Method Details
-
setActiveContext
protected void setActiveContext() -
run
- Specified by:
runin interfaceIKeyAction
-