Class IncrementalFindAction

All Implemented Interfaces:
IAction, IUpdate

public class IncrementalFindAction extends ResourceAction implements IUpdate
An action which enters the incremental find mode like in emacs.

This class may be instantiated; it is not intended to be subclassed.

Since:
2.0
Restriction:
This class is not intended to be subclassed by clients.
  • Constructor Details

    • IncrementalFindAction

      public IncrementalFindAction(ResourceBundle bundle, String prefix, IWorkbenchPart workbenchPart, boolean forward)
      Creates a new incremental find action for the given workbench part. The action configures its visual representation from the given resource bundle.
      Parameters:
      bundle - the resource bundle
      prefix - a prefix to be prepended to the various resource keys (described in ResourceAction constructor), or null if none
      workbenchPart - the workbench part
      forward - true if the search direction is forward
      Since:
      2.1
      See Also:
    • IncrementalFindAction

      @Deprecated public IncrementalFindAction(ResourceBundle bundle, String prefix, IWorkbenchWindow workbenchWindow, boolean forward)
      Deprecated.
      use FindReplaceAction(ResourceBundle, String, IWorkbenchPart, boolean) instead
      Creates a new incremental find action for the given workbench window. The action configures its visual representation from the given resource bundle.
      Parameters:
      bundle - the resource bundle
      prefix - a prefix to be prepended to the various resource keys (described in ResourceAction constructor), or null if none
      workbenchWindow - the workbench window
      forward - true if the search direction is forward
      Since:
      2.1
      See Also:
  • Method Details

    • run

      public void run()
      Description copied from class: Action
      The default implementation of this IAction method does nothing. Subclasses should override this method if they do not need information from the triggering event, or override runWithEvent(Event) if they do.
      Specified by:
      run in interface IAction
      Overrides:
      run in class Action
      See Also:
    • update

      public void update()
      Description copied from interface: IUpdate
      Requests that this object update itself.
      Specified by:
      update in interface IUpdate