Class FindNextAction

All Implemented Interfaces:
IAction, IUpdate

public class FindNextAction extends ResourceAction implements IUpdate
An action which finds the next/previous occurrence of the last search or the current selection if present.

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

    • FindNextAction

      public FindNextAction(ResourceBundle bundle, String prefix, IWorkbenchPart workbenchPart, boolean forward)
      Creates a new find/replace 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 - the search direction
      See Also:
    • FindNextAction

      @Deprecated public FindNextAction(ResourceBundle bundle, String prefix, IWorkbenchWindow workbenchWindow, boolean forward)
      Deprecated.
      use FindReplaceAction(ResourceBundle, String, IWorkbenchPart, boolean) instead
      Creates a new find/replace 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 - the search direction
      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