|
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.debug.ui.AbstractBreakpointOrganizerDelegate
Common function for breakpoint organizer delegates.
Clients implementing IBreakpointOrganizerDelegate
must subclass this class.
Field Summary |
---|
Fields inherited from interface org.eclipse.debug.ui.IBreakpointOrganizerDelegate |
---|
P_CATEGORY_CHANGED |
Constructor Summary | |
---|---|
AbstractBreakpointOrganizerDelegate()
|
Method Summary | |
---|---|
void |
addBreakpoint(IBreakpoint breakpoint,
IAdaptable category)
Adds the specified breakpoint to the given category. |
void |
addPropertyChangeListener(IPropertyChangeListener listener)
Adds the specified listener. |
boolean |
canAdd(IBreakpoint breakpoint,
IAdaptable category)
Returns whether the given breakpoint can be categorized in the specified category. |
boolean |
canRemove(IBreakpoint breakpoint,
IAdaptable category)
Returns whether the given breakpoint can be removed from the given category. |
void |
dispose()
Disposes this breakpoint organizer. |
protected void |
fireCategoryChanged(IAdaptable category)
Fires a property change notification for the given category. |
IAdaptable[] |
getCategories()
Returns all categories managed by this organizer, or null .
|
void |
removeBreakpoint(IBreakpoint breakpoint,
IAdaptable category)
Removes the specified breakpoint from the given category. |
void |
removePropertyChangeListener(IPropertyChangeListener listener)
Removes the specified listener. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.eclipse.debug.ui.IBreakpointOrganizerDelegate |
---|
getCategories |
Constructor Detail |
public AbstractBreakpointOrganizerDelegate()
Method Detail |
public void addBreakpoint(IBreakpoint breakpoint, IAdaptable category)
IBreakpointOrganizerDelegate
canAdd(...)
returns true
for the given
breakpoint and category.
addBreakpoint
in interface IBreakpointOrganizerDelegate
breakpoint
- breakpoint to recategorizecategory
- the breakpoint's new categorypublic void addPropertyChangeListener(IPropertyChangeListener listener)
IBreakpointOrganizerDelegate
addPropertyChangeListener
in interface IBreakpointOrganizerDelegate
listener
- listener to addpublic boolean canAdd(IBreakpoint breakpoint, IAdaptable category)
IBreakpointOrganizerDelegate
canAdd
in interface IBreakpointOrganizerDelegate
breakpoint
- breakpoint to recatogorizecategory
- the category to add the breakpoint to
public boolean canRemove(IBreakpoint breakpoint, IAdaptable category)
IBreakpointOrganizerDelegate
canRemove
in interface IBreakpointOrganizerDelegate
breakpoint
- breakpoint to recategorizecategory
- the category to remove the breakpoint from
public void dispose()
IBreakpointOrganizerDelegate
dispose
in interface IBreakpointOrganizerDelegate
public void removeBreakpoint(IBreakpoint breakpoint, IAdaptable category)
IBreakpointOrganizerDelegate
canRemove(...)
returns true
for
the given breakpoint and category.
removeBreakpoint
in interface IBreakpointOrganizerDelegate
breakpoint
- breakpoint to recategorizecategory
- the category the breakpoint is remove frompublic void removePropertyChangeListener(IPropertyChangeListener listener)
IBreakpointOrganizerDelegate
removePropertyChangeListener
in interface IBreakpointOrganizerDelegate
listener
- listener to removeprotected void fireCategoryChanged(IAdaptable category)
category
- category that has changedpublic IAdaptable[] getCategories()
IBreakpointOrganizerDelegate
null
.
When null
is returned, the breakpoints view only displays
categories that contain breakpoints. When a collection of categories
is returned the breakpoints will display all of the categories, some of
which may be empty.
getCategories
in interface IBreakpointOrganizerDelegate
null
|
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.