Package org.eclipse.debug.ui
Class DeferredDebugElementWorkbenchAdapter
java.lang.Object
org.eclipse.debug.ui.DebugElementWorkbenchAdapter
org.eclipse.debug.ui.DeferredDebugElementWorkbenchAdapter
- All Implemented Interfaces:
- IWorkbenchAdapter,- IWorkbenchAdapter2,- IDeferredWorkbenchAdapter
@Deprecated
public abstract class DeferredDebugElementWorkbenchAdapter
extends DebugElementWorkbenchAdapter
implements IDeferredWorkbenchAdapter
Deprecated.
Common function for a deferred workbench adapter for a debug element.
 
 Clients may subclass this class to provide custom adapters for elements in a debug
 model. The debug platform provides IDeferredWorkbenchAdapters for the standard debug
 elements. Clients may override the default content in the debug view by providing an
 IWorkbenchAdapter or IDeferredWorkbenchAdapter for a debug
 element.
 
- Since:
- 3.1
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidfetchDeferredChildren(Object object, IElementCollector collector, IProgressMonitor monitor) Deprecated.Called by a job run in a separate thread to fetch the children of this adapter.Deprecated.Returns the rule used to schedule the deferred fetching of children for this adapter.booleanDeprecated.Returns whether this adapter may have children.Methods inherited from class org.eclipse.debug.ui.DebugElementWorkbenchAdaptergetBackground, getFont, getForeground, getImageDescriptor, getLabelMethods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.ui.model.IWorkbenchAdaptergetChildren, getImageDescriptor, getLabel, getParent
- 
Field Details- 
EMPTYDeprecated.An empty collection of children
 
- 
- 
Constructor Details- 
DeferredDebugElementWorkbenchAdapterpublic DeferredDebugElementWorkbenchAdapter()Deprecated.
 
- 
- 
Method Details- 
isContainerpublic boolean isContainer()Deprecated.Description copied from interface:IDeferredWorkbenchAdapterReturns whether this adapter may have children. This is an optimized method used by content providers to allow showing the [+] expand icon without having yet fetched the children for the element.If falseis returned, then the content provider may assume that this adapter has no children. Iftrueis returned, then the job manager may assume that this adapter may have children.- Specified by:
- isContainerin interface- IDeferredWorkbenchAdapter
- Returns:
- trueif the adapter may have childen, and- falseotherwise.
 
- 
getRuleDeprecated.Description copied from interface:IDeferredWorkbenchAdapterReturns the rule used to schedule the deferred fetching of children for this adapter.- Specified by:
- getRulein interface- IDeferredWorkbenchAdapter
- Parameters:
- object- the object whose children are being fetched
- Returns:
- the scheduling rule. May be null.
- See Also:
 
- 
fetchDeferredChildrenpublic void fetchDeferredChildren(Object object, IElementCollector collector, IProgressMonitor monitor) Deprecated.Description copied from interface:IDeferredWorkbenchAdapterCalled by a job run in a separate thread to fetch the children of this adapter. The adapter should in return notify of new children via the collector. This is generally used when a content provider is getting elements.It is good practice to check the passed in monitor for cancellation. This will provide good responsiveness for cancellation requests made by the user. - Specified by:
- fetchDeferredChildrenin interface- IDeferredWorkbenchAdapter
- Parameters:
- object- the object to fetch the children for
- collector- the collector to notify about new children. Should not be- null.
- monitor- a progress monitor that will never be- nullto support reporting and cancellation.
 
 
- 
IDeferredWorkbenchAdapter. Deferred custom content is currently supported by a provisional internal viewer framework.