Class WorkingSetFindAction

  • All Implemented Interfaces:
    IAction, ISelectionChangedListener

    public class WorkingSetFindAction
    extends FindAction
    Wraps a JavaElementSearchActions to find its results in the specified working set.

    The action is applicable to selections and Search view entries representing a Java element.

    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.
    Restriction:
    This class is not intended to be instantiated by clients.
    • Constructor Detail

      • WorkingSetFindAction

        public WorkingSetFindAction​(IWorkbenchSite site,
                                    FindAction action,
                                    String workingSetName)
        Note: This constructor is for internal use only. Clients should not call this constructor.
        Parameters:
        site - the site
        action - the action
        workingSetName - the working set name
      • WorkingSetFindAction

        public WorkingSetFindAction​(org.eclipse.jdt.internal.ui.javaeditor.JavaEditor editor,
                                    FindAction action,
                                    String workingSetName)
        Note: This constructor is for internal use only. Clients should not call this constructor.
        Parameters:
        editor - the Java editor (internal type)
        action - the action
        workingSetName - the working set name
        Restriction:
        This constructor is not intended to be referenced by clients.
    • Method Detail

      • run

        public void run​(IJavaElement element)
        Description copied from class: FindAction
        Executes this action for the given java element.
        Overrides:
        run in class FindAction
        Parameters:
        element - The java element to be found.
      • run

        public void run​(IJavaElement[] elements)
        Description copied from class: FindAction
        Executes this action for the given Java element List.
        Overrides:
        run in class FindAction
        Parameters:
        elements - the Java elements to be found