|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IResourceNavigator
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.
Field Summary |
---|
Fields inherited from interface org.eclipse.ui.IWorkbenchPart |
---|
PROP_TITLE |
Method Summary | |
---|---|
ResourceComparator |
getComparator()
Deprecated. Returns the current comparator. |
FrameList |
getFrameList()
Deprecated. Returns the frame list for this navigator. |
ResourcePatternFilter |
getPatternFilter()
Deprecated. Returns the pattern filter. |
ResourceSorter |
getSorter()
Deprecated. as of 3.3, use getComparator() instead |
TreeViewer |
getViewer()
Deprecated. Returns the viewer which shows the resource tree. |
IWorkingSet |
getWorkingSet()
Deprecated. Returns the active working set, or null |
boolean |
isLinkingEnabled()
Deprecated. Returns whether this navigator's selection automatically tracks the active editor. |
void |
setComparator(ResourceComparator comparator)
Deprecated. Sets the current comparator. |
void |
setFiltersPreference(String[] patterns)
Deprecated. Sets the values of the filter preference to be the strings in preference values. |
void |
setLinkingEnabled(boolean enabled)
Deprecated. Sets whether this navigator's selection automatically tracks the active editor. |
void |
setSorter(ResourceSorter sorter)
Deprecated. as of 3.3, use setComparator(ResourceComparator) instead |
void |
setWorkingSet(IWorkingSet workingSet)
Deprecated. 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 |
---|
ResourcePatternFilter getPatternFilter()
IWorkingSet getWorkingSet()
null if none.
- Returns:
- the active working set, or
null if none- Since:
- 2.0
ResourceSorter getSorter()
getComparator()
instead
void setSorter(ResourceSorter sorter)
setComparator(ResourceComparator)
instead
sorter
- the sorter to useResourceComparator getComparator()
void setComparator(ResourceComparator comparator)
comparator
- the comparator to usevoid setFiltersPreference(String[] patterns)
patterns
- filter patterns to use on contents of the resource navigatorTreeViewer getViewer()
FrameList getFrameList()
boolean isLinkingEnabled()
true
if linking is enabled, false
if notvoid setWorkingSet(IWorkingSet workingSet)
null
to clear it.
workingSet
- the working set, or null
to clear itvoid setLinkingEnabled(boolean enabled)
enabled
- true
to enable, false
to disable
|
Eclipse Platform Release 3.6 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2010. All rights reserved.