public class BreakpointTypeCategory extends PlatformObject implements IBreakpointTypeCategory, IWorkbenchAdapter
Clients providing breakpoint type category adapters may instantiate and subclass this class.
| Constructor and Description |
|---|
BreakpointTypeCategory(String name)
Constructs a type category for the given type name.
|
BreakpointTypeCategory(String name,
ImageDescriptor descriptor)
Constructs a type category for the given type name with the given
image.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object object) |
Object[] |
getChildren(Object o)
Returns the children of this object.
|
ImageDescriptor |
getImageDescriptor(Object object)
Returns an image descriptor to be used for displaying an object in the workbench.
|
String |
getLabel(Object o)
Returns the label text for this element.
|
protected String |
getName()
Returns the name of this category's breakpoint type.
|
Object |
getParent(Object o)
Returns the logical parent of the given object in its tree.
|
int |
hashCode() |
getAdapterclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitgetAdapterpublic BreakpointTypeCategory(String name)
name - breakpoint type namepublic BreakpointTypeCategory(String name, ImageDescriptor descriptor)
name - breakpoint type namedescriptor - image descriptorprotected String getName()
public Object[] getChildren(Object o)
IWorkbenchAdaptergetChildren in interface IWorkbenchAdaptero - The object to get the children for.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)
IWorkbenchAdaptergetLabel in interface IWorkbenchAdaptero - The object to get a label for.public Object getParent(Object o)
IWorkbenchAdapternull if there is no parent, or if this object doesn't
belong to a tree.getParent in interface IWorkbenchAdaptero - The object to get the parent for.Guidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.