public interface IDebugModelPresentationExtension extends IDebugModelPresentation
IDebugModelPresentation. Dynamically controls whether labels are computed in a UI thread. The debug platform calls debug model presentation label related methods that do not implement this interface in a non-UI thread.
For example, some models may require at least one access in a UI thread to initialize an image registry at which point they may be able to provide labels in a non-UI thread.
Clients implementing a debug model presentation should also implement this interface to control which thread labels are generated in.
|Modifier and Type||Method and Description|
Returns whether the UI thread is required to retrieve a label (text, image, font, foreground, background, etc.), for the specified element.
computeDetail, getImage, getText, setAttribute
addListener, dispose, isLabelProperty, removeListener
boolean requiresUIThread(Object element)
trueis returned, label related methods will be called in the UI thread, otherwise methods may be called in a non-UI thread.
element- the element a label is to be retrieved for
Copyright (c) 2000, 2013 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.