public abstract class AbstractBreakpointOrganizerDelegate extends Object implements IBreakpointOrganizerDelegate
Clients implementing IBreakpointOrganizerDelegate must subclass this class.
P_CATEGORY_CHANGED| Constructor and Description |
|---|
AbstractBreakpointOrganizerDelegate() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCategoriespublic void addBreakpoint(IBreakpoint breakpoint, IAdaptable category)
IBreakpointOrganizerDelegatecanAdd(...) returns true for the given
breakpoint and category.addBreakpoint in interface IBreakpointOrganizerDelegatebreakpoint - breakpoint to recategorizecategory - the breakpoint's new categorypublic void addPropertyChangeListener(IPropertyChangeListener listener)
IBreakpointOrganizerDelegateaddPropertyChangeListener in interface IBreakpointOrganizerDelegatelistener - listener to addpublic boolean canAdd(IBreakpoint breakpoint, IAdaptable category)
IBreakpointOrganizerDelegatecanAdd in interface IBreakpointOrganizerDelegatebreakpoint - breakpoint to recatogorizecategory - the category to add the breakpoint topublic boolean canRemove(IBreakpoint breakpoint, IAdaptable category)
IBreakpointOrganizerDelegatecanRemove in interface IBreakpointOrganizerDelegatebreakpoint - breakpoint to recategorizecategory - the category to remove the breakpoint frompublic void dispose()
IBreakpointOrganizerDelegatedispose in interface IBreakpointOrganizerDelegatepublic void removeBreakpoint(IBreakpoint breakpoint, IAdaptable category)
IBreakpointOrganizerDelegatecanRemove(...) returns true for
the given breakpoint and category.removeBreakpoint in interface IBreakpointOrganizerDelegatebreakpoint - breakpoint to recategorizecategory - the category the breakpoint is remove frompublic void removePropertyChangeListener(IPropertyChangeListener listener)
IBreakpointOrganizerDelegateremovePropertyChangeListener in interface IBreakpointOrganizerDelegatelistener - listener to removeprotected void fireCategoryChanged(IAdaptable category)
category - category that has changedpublic IAdaptable[] getCategories()
IBreakpointOrganizerDelegatenull.
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 IBreakpointOrganizerDelegatenullGuidelines for using Eclipse APIs. Copyright (c) IBM Corp. and others 2000, 2006. All rights reserved.