Class ShowInNavigatorAction

  • All Implemented Interfaces:
    IAction, ISelectionChangedListener

    public class ShowInNavigatorAction
    extends SelectionProviderAction
    as of 3.5, use the Common Navigator Framework classes instead
    An action which shows the current selection in the Navigator view. For each element in the selection, if it is an IResource it uses it directly, otherwise if it is an IMarker it uses the marker's resource, otherwise if it is an IAdaptable, it tries to get the IResource.class adapter.
    • Constructor Detail

      • ShowInNavigatorAction

        public ShowInNavigatorAction​(IWorkbenchPage page,
                                     ISelectionProvider viewer)
        Create a new instance of this class.
        page - the page
        viewer - the viewer