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, wait
getCategories
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 topublic boolean canRemove(IBreakpoint breakpoint, IAdaptable category)
IBreakpointOrganizerDelegate
canRemove
in interface IBreakpointOrganizerDelegate
breakpoint
- breakpoint to recategorizecategory
- the category to remove the breakpoint frompublic 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
Copyright (c) 2000, 2014 Eclipse Contributors and others. All rights reserved.Guidelines for using Eclipse APIs.