Class ShowInNavigatorAction

  • All Implemented Interfaces:
    IAction, ISelectionChangedListener

    @Deprecated
    public class ShowInNavigatorAction
    extends SelectionProviderAction
    Deprecated.
    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)
        Deprecated.
        Create a new instance of this class.
        Parameters:
        page - the page
        viewer - the viewer