|
Eclipse Platform Release 3.1 |
|||||||||||
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
Default implementation for a breakpoint type category.
Clients providing breakpoint type category adapters may instantiate and subclass this class.
Constructor Summary | |
---|---|
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. |
Method Summary | |
---|---|
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()
|
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(String name)
name
- breakpoint type namepublic BreakpointTypeCategory(String name, ImageDescriptor descriptor)
name
- breakpoint type namedescriptor
- image descriptorMethod Detail |
protected String getName()
public boolean equals(Object object)
public int hashCode()
public Object[] getChildren(Object o)
IWorkbenchAdapter
getChildren
in interface IWorkbenchAdapter
o
- The object to get the children for.
public ImageDescriptor getImageDescriptor(Object object)
IWorkbenchAdapter
null
if there is no appropriate image.
getImageDescriptor
in interface IWorkbenchAdapter
object
- The object to get an image descriptor for.
public String getLabel(Object o)
IWorkbenchAdapter
getLabel
in interface IWorkbenchAdapter
o
- The object to get a label for.
public Object getParent(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.1 |
|||||||||||
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, 2005. All rights reserved.