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

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.ui
Interface IDebugModelPresentationExtension

All Superinterfaces:
IBaseLabelProvider, IDebugModelPresentation, ILabelProvider, ISourcePresentation

public interface IDebugModelPresentationExtension
extends IDebugModelPresentation

Optional extension for an 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.

Since:
3.4

Field Summary
 
Fields inherited from interface org.eclipse.debug.ui. IDebugModelPresentation
DISPLAY_VARIABLE_TYPE_NAMES
 
Method Summary
 boolean requiresUIThread ( Object element)
          Returns whether the UI thread is required to retrieve a label (text, image, font, foreground, background, etc.), for the specified element.
 
Methods inherited from interface org.eclipse.debug.ui. IDebugModelPresentation
computeDetail, getImage, getText, setAttribute
 
Methods inherited from interface org.eclipse.jface.viewers. IBaseLabelProvider
addListener, dispose, isLabelProperty, removeListener
 
Methods inherited from interface org.eclipse.debug.ui. ISourcePresentation
getEditorId, getEditorInput
 

Method Detail

requiresUIThread

boolean requiresUIThread(
Object element)
Returns whether the UI thread is required to retrieve a label (text, image, font, foreground, background, etc.), for the specified element. When true is returned, label related methods will be called in the UI thread, otherwise methods may be called in a non-UI thread.

Parameters:
element - the element a label is to be retrieved for
Returns:
whether label related methods should be called on the UI thread

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


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