|
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(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 name
public BreakpointTypeCategory(String name,
ImageDescriptor descriptor)
name - breakpoint type namedescriptor - image descriptor| Method Detail |
|---|
protected String getName()
public boolean equals(Object object)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic Object[] getChildren(Object o)
IWorkbenchAdapter
getChildren 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)
IWorkbenchAdapter
getLabel 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.
|
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.