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