Package org.eclipse.ui.views.navigator
Interface IResourceNavigator
- All Superinterfaces:
IAdaptable,IPersistable,IViewPart,IWorkbenchPart
- All Known Implementing Classes:
ResourceNavigator
Deprecated, for removal: This API element is subject to removal in a future version.
as of 3.5, use the Common Navigator Framework classes instead
This interface defines the API for the resource navigator. The action groups
should restrict themselves to using this API.
This interface is not intended to be implemented by clients. Subclass
org.eclipse.ui.views.ResourceNavigator instead.
- Since:
- 2.0
- Restriction:
- This interface is not intended to be implemented by clients.
-
Field Summary
Fields inherited from interface org.eclipse.ui.IWorkbenchPart
PROP_TITLE -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.Returns the current comparator.Deprecated, for removal: This API element is subject to removal in a future version.Returns the frame list for this navigator.Deprecated, for removal: This API element is subject to removal in a future version.Returns the pattern filter.Deprecated.as of 3.3, usegetComparator()insteadDeprecated, for removal: This API element is subject to removal in a future version.Returns the viewer which shows the resource tree.Deprecated, for removal: This API element is subject to removal in a future version.Returns the active working set, ornullif none.booleanDeprecated, for removal: This API element is subject to removal in a future version.Returns whether this navigator's selection automatically tracks the active editor.voidsetComparator(ResourceComparator comparator) Deprecated, for removal: This API element is subject to removal in a future version.Sets the current comparator.voidsetFiltersPreference(String[] patterns) Deprecated, for removal: This API element is subject to removal in a future version.Sets the values of the filter preference to be the strings in preference values.voidsetLinkingEnabled(boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.Sets whether this navigator's selection automatically tracks the active editor.voidsetSorter(ResourceSorter sorter) Deprecated.as of 3.3, usesetComparator(ResourceComparator)insteadvoidsetWorkingSet(IWorkingSet workingSet) Deprecated, for removal: This API element is subject to removal in a future version.Sets the working set for this view, ornullto clear it.Methods inherited from interface org.eclipse.core.runtime.IAdaptable
getAdapterMethods inherited from interface org.eclipse.ui.IViewPart
getViewSite, init, init, saveStateMethods inherited from interface org.eclipse.ui.IWorkbenchPart
addPropertyListener, createPartControl, dispose, getSite, getTitle, getTitleImage, getTitleToolTip, removePropertyListener, setFocus
-
Method Details
-
getPatternFilter
ResourcePatternFilter getPatternFilter()Deprecated, for removal: This API element is subject to removal in a future version.Returns the pattern filter.- Returns:
- the pattern filter
-
getWorkingSet
IWorkingSet getWorkingSet()Deprecated, for removal: This API element is subject to removal in a future version.Returns the active working set, ornullif none.- Returns:
- the active working set, or
nullif none - Since:
- 2.0
-
getSorter
Deprecated.as of 3.3, usegetComparator()insteadReturns the current sorter.- Returns:
- the resource navigator's sorter
-
getComparator
ResourceComparator getComparator()Deprecated, for removal: This API element is subject to removal in a future version.Returns the current comparator.- Returns:
- the resource navigator's comparator
- Since:
- 3.3
-
setFiltersPreference
Deprecated, for removal: This API element is subject to removal in a future version.Sets the values of the filter preference to be the strings in preference values.- Parameters:
patterns- filter patterns to use on contents of the resource navigator
-
getViewer
TreeViewer getViewer()Deprecated, for removal: This API element is subject to removal in a future version.Returns the viewer which shows the resource tree.- Returns:
- the resource navigator's tree viewer
-
getFrameList
FrameList getFrameList()Deprecated, for removal: This API element is subject to removal in a future version.Returns the frame list for this navigator.- Returns:
- the list of frames maintained by the resource navigator
-
isLinkingEnabled
boolean isLinkingEnabled()Deprecated, for removal: This API element is subject to removal in a future version.Returns whether this navigator's selection automatically tracks the active editor.- Returns:
trueif linking is enabled,falseif not- Since:
- 2.1
-
setWorkingSet
Deprecated, for removal: This API element is subject to removal in a future version.Sets the working set for this view, ornullto clear it.- Parameters:
workingSet- the working set, ornullto clear it- Since:
- 2.0
-
setLinkingEnabled
void setLinkingEnabled(boolean enabled) Deprecated, for removal: This API element is subject to removal in a future version.Sets whether this navigator's selection automatically tracks the active editor.- Parameters:
enabled-trueto enable,falseto disable- Since:
- 2.1
-