Eclipse Platform
2.0

org.eclipse.ui.views.navigator
Interface IResourceNavigator

All Superinterfaces:
IAdaptable, IViewPart, IWorkbenchPart
All Known Implementing Classes:
ResourceNavigator

public interface IResourceNavigator
extends IViewPart

This interface defines the API for the resource navigator. The action groups should restrict themselves to using this API.

Since:
2.0

Field Summary
 
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE
 
Method Summary
 FrameList getFrameList()
          Returns the frame list for this navigator.
 ResourcePatternFilter getPatternFilter()
          Returns the pattern filter.
 ResourceSorter getSorter()
          Returns the current sorter.
 TreeViewer getViewer()
          Returns the viewer which shows the resource tree.
 IWorkingSet getWorkingSet()
          Returns the active working set, or null if none.
 void setFiltersPreference(String[] patterns)
          Sets the values of the filter preference to be the strings in preference values
 void setSorter(ResourceSorter sorter)
          Sets the current sorter.
 void setWorkingSet(IWorkingSet workingSet)
          Sets the working set for this view, or null to clear it.
 
Methods inherited from interface org.eclipse.ui.IViewPart
getViewSite, init, init, saveState
 
Methods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
 
Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapter
 

Method Detail

getPatternFilter

public ResourcePatternFilter getPatternFilter()
Returns the pattern filter.

Returns:
the pattern filter

getWorkingSet

public IWorkingSet getWorkingSet()
Returns the active working set, or null if none.

Returns:
the active working set, or null if none
Since:
2.0

getSorter

public ResourceSorter getSorter()
Returns the current sorter.


setSorter

public void setSorter(ResourceSorter sorter)
Sets the current sorter.


setFiltersPreference

public void setFiltersPreference(String[] patterns)
Sets the values of the filter preference to be the strings in preference values


getViewer

public TreeViewer getViewer()
Returns the viewer which shows the resource tree.


getFrameList

public FrameList getFrameList()
Returns the frame list for this navigator.


setWorkingSet

public void setWorkingSet(IWorkingSet workingSet)
Sets the working set for this view, or null to clear it.

Parameters:
workingSet - the working set, or null to clear it
Since:
2.0

Eclipse Platform
2.0

Copyright (c) IBM Corp. and others 2000, 2002. All Rights Reserved.