Class SearchAction
- java.lang.Object
-
- org.eclipse.nebula.widgets.nattable.search.action.SearchAction
-
- All Implemented Interfaces:
IKeyAction
public class SearchAction extends Object implements IKeyAction
An action for opening a Find dialog on a NatTable. Supports both modal and non-modal (i.e., sharable) Find dialog behavior.
-
-
Constructor Summary
Constructors Constructor Description SearchAction()
Constructs 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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
run(NatTable natTable, org.eclipse.swt.events.KeyEvent event)
protected void
setActiveContext()
-
-
-
Constructor Detail
-
SearchAction
public SearchAction()
Constructs an action with a modal Find dialog.
-
SearchAction
public SearchAction(NatTable natTable, org.eclipse.jface.dialogs.IDialogSettings dialogSettings)
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.
-
-
Method Detail
-
setActiveContext
protected void setActiveContext()
-
run
public void run(NatTable natTable, org.eclipse.swt.events.KeyEvent event)
- Specified by:
run
in interfaceIKeyAction
-
-