|
org.eclipse.rse.ui.operations
Class SystemDeferredTreeContentManager
java.lang.Object
org.eclipse.ui.progress.DeferredTreeContentManager
org.eclipse.rse.ui.operations.SystemDeferredTreeContentManager
-
public class SystemDeferredTreeContentManager
- extends
DeferredTreeContentManager
Methods inherited from class java.lang.
Object
|
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait
|
SystemDeferredTreeContentManager
public SystemDeferredTreeContentManager(
ITreeContentProvider provider,
AbstractTreeViewer viewer)
getAdapter
protected
IDeferredWorkbenchAdapter getAdapter(
Object element)
-
-
Overrides:
-
getAdapter
in class
DeferredTreeContentManager
-
getChildren
public
Object[] getChildren(
Object parent,
Viewer viewer)
- Returns the child elements of the given element, or in the case of a
deferred element, returns a placeholder. If a deferred element is used, a
job is created to fetch the children in the background.
When the job for fetching the children is finished and the placeholder
removed, the original selection is restored.
-
-
Parameters:
-
parent - The parent object. -
viewer - The viewer
-
Returns:
- Object[] or
null if parent is not an instance of
IDeferredWorkbenchAdapter.
addChildren
protected void addChildren(
Object parent,
Object[] children,
IProgressMonitor monitor)
-
-
Overrides:
-
addChildren
in class
DeferredTreeContentManager
-
Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.
|
|