Class FindAction

All Implemented Interfaces:
IAction, ISelectionChangedListener
Direct Known Subclasses:
FindDeclarationsAction, FindImplementorsAction, FindReferencesAction, WorkingSetFindAction

public abstract class FindAction extends SelectionDispatchAction
Abstract class for Java search actions.

Note: This class is for internal use only. Clients should not use this class.

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

    • run

      public void run(IStructuredSelection selection)
      Description copied from class: SelectionDispatchAction
      Executes this actions with the given structured selection. This default implementation calls run(ISelection selection).
      Overrides:
      run in class SelectionDispatchAction
      Parameters:
      selection - the selection
    • run

      public void run(ITextSelection selection)
      Description copied from class: SelectionDispatchAction
      Executes this actions with the given text selection. This default implementation calls run(ISelection selection).
      Overrides:
      run in class SelectionDispatchAction
      Parameters:
      selection - the selection
    • selectionChanged

      public void selectionChanged(IStructuredSelection selection)
      Description copied from class: SelectionDispatchAction
      Notifies this action that the given structured selection has changed. This default implementation calls selectionChanged(ISelection selection).
      Overrides:
      selectionChanged in class SelectionDispatchAction
      Parameters:
      selection - the new selection
    • selectionChanged

      public void selectionChanged(ITextSelection selection)
      Description copied from class: SelectionDispatchAction
      Notifies this action that the given text selection has changed. This default implementation calls selectionChanged(ISelection selection).
      Overrides:
      selectionChanged in class SelectionDispatchAction
      Parameters:
      selection - the new selection
    • run

      public void run(IJavaElement element)
      Executes this action for the given java element.
      Parameters:
      element - The java element to be found.
    • run

      public void run(IJavaElement[] elements)
      Executes this action for the given Java element List.
      Parameters:
      elements - the Java elements to be found
      Since:
      3.12