|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.eclipse.core.runtime.PlatformObject
org.eclipse.debug.ui.BreakpointTypeCategory
public class BreakpointTypeCategory
Default implementation for a breakpoint type category.
Clients providing breakpoint type category adapters may instantiate and subclass this class.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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()
|
Methods inherited from class org.eclipse.core.runtime.PlatformObject |
---|
getAdapter |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.core.runtime.IAdaptable |
---|
getAdapter |
Constructor Detail |
---|
public BreakpointTypeCategory(java.lang.String name)
name
- breakpoint type namepublic BreakpointTypeCategory(java.lang.String name, ImageDescriptor descriptor)
name
- breakpoint type namedescriptor
- image descriptorMethod Detail |
---|
protected java.lang.String getName()
public boolean equals(java.lang.Object object)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.Object[] getChildren(java.lang.Object o)
IWorkbenchAdapter
getChildren
in interface IWorkbenchAdapter
o
- The object to get the children for.
public ImageDescriptor getImageDescriptor(java.lang.Object object)
IWorkbenchAdapter
null
if there is no appropriate image.
getImageDescriptor
in interface IWorkbenchAdapter
object
- The object to get an image descriptor for.
public java.lang.String getLabel(java.lang.Object o)
IWorkbenchAdapter
getLabel
in interface IWorkbenchAdapter
o
- The object to get a label for.
public java.lang.Object getParent(java.lang.Object o)
IWorkbenchAdapter
null
if there is no parent, or if this object doesn't
belong to a tree.
getParent
in interface IWorkbenchAdapter
o
- The object to get the parent for.
|
Eclipse Platform Release 3.2 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.