Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 

RSE
Release 3.0

org.eclipse.rse.ui.operations
Class SystemDeferredTreeContentManager


java.lang.Object
  extended by 

org.eclipse.ui.progress.DeferredTreeContentManager
      extended by 
org.eclipse.rse.ui.operations.SystemDeferredTreeContentManager

public class SystemDeferredTreeContentManager
extends DeferredTreeContentManager


Constructor Summary
SystemDeferredTreeContentManager ( ITreeContentProvider provider, AbstractTreeViewer viewer)
           
 
Method Summary
protected  void addChildren ( Object parent, Object[] children, IProgressMonitor monitor)
           
protected   IDeferredWorkbenchAdapter getAdapter ( Object element)
           
  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.
 
Methods inherited from class org.eclipse.ui.progress. DeferredTreeContentManager
addUpdateCompleteListener, cancel, createElementCollector, createPendingUpdateAdapter, getChildren, getFetchJobName, isDeferredAdapter, mayHaveChildren, runClearPlaceholderJob, startFetchingDeferredChildren
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SystemDeferredTreeContentManager

public SystemDeferredTreeContentManager(
ITreeContentProvider provider,
                                        
AbstractTreeViewer viewer)
Method Detail

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

RSE
Release 3.0

Copyright (c) IBM Corporation and others 2000, 2008. All Rights Reserved.

 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire