IDeferredWorkbenchAdapter. Deferred custom content is currently supported by a provisional internal viewer framework.
@Deprecated public abstract class DeferredDebugElementWorkbenchAdapter extends DebugElementWorkbenchAdapter implements IDeferredWorkbenchAdapter
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
IDeferredWorkbenchAdapter for a debug
|Modifier and Type||Field and Description|
An empty collection of children
|Constructor and Description|
|Modifier and Type||Method and Description|
Called by a job run in a separate thread to fetch the children of this adapter.
Returns the rule used to schedule the deferred fetching of children for this adapter.
Returns whether this adapter may have children.
getBackground, getFont, getForeground, getImageDescriptor, getLabel
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
protected static final Object EMPTY
public boolean isContainer()
false is returned, then the content provider may assume
that this adapter has no children. If
true is returned,
then the job manager may assume that this adapter may have children.
public ISchedulingRule getRule(Object object)
public void fetchDeferredChildren(Object object, IElementCollector collector, IProgressMonitor monitor)
It is good practice to check the passed in monitor for cancellation. This will provide good responsiveness for cancellation requests made by the user.
object- the object to fetch the children for
collector- the collector to notify about new children. Should not be
monitor- a progress monitor that will never be
to support reporting and cancellation.
Copyright (c) 2000, 2017 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.