|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.debug.ui.DebugElementWorkbenchAdapter
IWorkbenchAdapter. Custom content is currently supported
by a provisional internal viewer framework.
public abstract class DebugElementWorkbenchAdapter
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.
| 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 |
|---|
public DebugElementWorkbenchAdapter()
| Method Detail |
|---|
public ImageDescriptor getImageDescriptor(Object object)
IWorkbenchAdapternull if there is no appropriate image.
getImageDescriptor in interface IWorkbenchAdapterobject - The object to get an image descriptor for.
public String getLabel(Object o)
IWorkbenchAdapter
getLabel in interface IWorkbenchAdaptero - The object to get a label for.
public RGB getForeground(Object element)
IWorkbenchAdapter2
getForeground in interface IWorkbenchAdapter2element - the element
null
to use the default foreground colorpublic RGB getBackground(Object element)
IWorkbenchAdapter2
getBackground in interface IWorkbenchAdapter2element - the element
null
to use the default background colorpublic FontData getFont(Object element)
IWorkbenchAdapter2
getFont in interface IWorkbenchAdapter2element - the element
null
to use the default font
|
Eclipse Platform Release 3.7 |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) Eclipse contributors and others 2000, 2011. All rights reserved.