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

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
Class DebugElementWorkbenchAdapter

java.lang.Object
  extended by 
org.eclipse.debug.ui.DebugElementWorkbenchAdapter
All Implemented Interfaces:
IWorkbenchAdapter, IWorkbenchAdapter2
Direct Known Subclasses:
DeferredDebugElementWorkbenchAdapter

Deprecated. Custom content in the debug views is no longer supported by IWorkbenchAdapter. Custom content is currently supported by a provisional internal viewer framework.

public abstract class DebugElementWorkbenchAdapter
extends Object
implements IWorkbenchAdapter, IWorkbenchAdapter2

Common function for debug element workbench adapters.

Clients may subclass this class to provide custom adapters for elements in a debug model. The debug platform provides IWorkbenchAdapters 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

Constructor Summary
DebugElementWorkbenchAdapter ()
          Deprecated.  
 
Method Summary
  RGB getBackground ( Object element)
          Deprecated. Provides a background color for the given element.
  FontData getFont ( Object element)
          Deprecated. Provides a font the given element.
  RGB getForeground ( Object element)
          Deprecated. Provides a foreground color for the given element.
  ImageDescriptor getImageDescriptor ( Object object)
          Deprecated. Returns an image descriptor to be used for displaying an object in the workbench.
  String getLabel ( Object o)
          Deprecated. Returns the label text for this element.
 
Methods inherited from class java.lang. Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.eclipse.ui.model. IWorkbenchAdapter
getChildren, getParent
 

Constructor Detail

DebugElementWorkbenchAdapter

public DebugElementWorkbenchAdapter()
Deprecated. 
Method Detail

getImageDescriptor

public 
ImageDescriptor getImageDescriptor(
Object object)
Deprecated. 
Description copied from interface: IWorkbenchAdapter
Returns an image descriptor to be used for displaying an object in the workbench. Returns null if there is no appropriate image.

Specified by:
getImageDescriptor in interface IWorkbenchAdapter
Parameters:
object - The object to get an image descriptor for.
Returns:
ImageDescriptor

getLabel

public 
String getLabel(
Object o)
Deprecated. 
Description copied from interface: IWorkbenchAdapter
Returns the label text for this element. This is typically used to assign a label to this object when displayed in the UI. Returns an empty string if there is no appropriate label text for this object.

Specified by:
getLabel in interface IWorkbenchAdapter
Parameters:
o - The object to get a label for.
Returns:
String

getForeground

public 
RGB getForeground(
Object element)
Deprecated. 
Description copied from interface: IWorkbenchAdapter2
Provides a foreground color for the given element.

Specified by:
getForeground in interface IWorkbenchAdapter2
Parameters:
element - the element
Returns:
the foreground color for the element, or null to use the default foreground color

getBackground

public 
RGB getBackground(
Object element)
Deprecated. 
Description copied from interface: IWorkbenchAdapter2
Provides a background color for the given element.

Specified by:
getBackground in interface IWorkbenchAdapter2
Parameters:
element - the element
Returns:
the background color for the element, or null to use the default background color

getFont

public 
FontData getFont(
Object element)
Deprecated. 
Description copied from interface: IWorkbenchAdapter2
Provides a font the given element.

Specified by:
getFont in interface IWorkbenchAdapter2
Parameters:
element - the element
Returns:
the font for the element, or null to use the default font

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