Package org.eclipse.debug.ui
Class AbstractBreakpointOrganizerDelegate
java.lang.Object
org.eclipse.debug.ui.AbstractBreakpointOrganizerDelegate
- All Implemented Interfaces:
- IBreakpointOrganizerDelegate
public abstract class AbstractBreakpointOrganizerDelegate
extends Object
implements IBreakpointOrganizerDelegate
Common function for breakpoint organizer delegates.
 
 Clients implementing IBreakpointOrganizerDelegate must subclass this class.
 
- Since:
- 3.1
- 
Field SummaryFields inherited from interface org.eclipse.debug.ui.IBreakpointOrganizerDelegateP_CATEGORY_CHANGED
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoidaddBreakpoint(IBreakpoint breakpoint, IAdaptable category) Adds the specified breakpoint to the given category.voidAdds the specified listener.booleancanAdd(IBreakpoint breakpoint, IAdaptable category) Returns whether the given breakpoint can be categorized in the specified category.booleancanRemove(IBreakpoint breakpoint, IAdaptable category) Returns whether the given breakpoint can be removed from the given category.voiddispose()Disposes this breakpoint organizer.protected voidfireCategoryChanged(IAdaptable category) Fires a property change notification for the given category.Returns all categories managed by this organizer, ornull.voidremoveBreakpoint(IBreakpoint breakpoint, IAdaptable category) Removes the specified breakpoint from the given category.voidRemoves the specified listener.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.eclipse.debug.ui.IBreakpointOrganizerDelegategetCategories
- 
Constructor Details- 
AbstractBreakpointOrganizerDelegatepublic AbstractBreakpointOrganizerDelegate()
 
- 
- 
Method Details- 
addBreakpointDescription copied from interface:IBreakpointOrganizerDelegateAdds the specified breakpoint to the given category. Only called ifcanAdd(...)returnstruefor the given breakpoint and category.- Specified by:
- addBreakpointin interface- IBreakpointOrganizerDelegate
- Parameters:
- breakpoint- breakpoint to recategorize
- category- the breakpoint's new category
 
- 
addPropertyChangeListenerDescription copied from interface:IBreakpointOrganizerDelegateAdds the specified listener. Has no effect if an identical listener is already registered.- Specified by:
- addPropertyChangeListenerin interface- IBreakpointOrganizerDelegate
- Parameters:
- listener- listener to add
 
- 
canAddDescription copied from interface:IBreakpointOrganizerDelegateReturns whether the given breakpoint can be categorized in the specified category.- Specified by:
- canAddin interface- IBreakpointOrganizerDelegate
- Parameters:
- breakpoint- breakpoint to recatogorize
- category- the category to add the breakpoint to
- Returns:
- whether the given breakpoint can be categorized in the specified category
 
- 
canRemoveDescription copied from interface:IBreakpointOrganizerDelegateReturns whether the given breakpoint can be removed from the given category.- Specified by:
- canRemovein interface- IBreakpointOrganizerDelegate
- Parameters:
- breakpoint- breakpoint to recategorize
- category- the category to remove the breakpoint from
- Returns:
- whether the given breakpoint can be removed from the given category
 
- 
disposepublic void dispose()Description copied from interface:IBreakpointOrganizerDelegateDisposes this breakpoint organizer.- Specified by:
- disposein interface- IBreakpointOrganizerDelegate
 
- 
removeBreakpointDescription copied from interface:IBreakpointOrganizerDelegateRemoves the specified breakpoint from the given category. Only called ifcanRemove(...)returnstruefor the given breakpoint and category.- Specified by:
- removeBreakpointin interface- IBreakpointOrganizerDelegate
- Parameters:
- breakpoint- breakpoint to recategorize
- category- the category the breakpoint is remove from
 
- 
removePropertyChangeListenerDescription copied from interface:IBreakpointOrganizerDelegateRemoves the specified listener. Has no effect if an identical listener is not already registered.- Specified by:
- removePropertyChangeListenerin interface- IBreakpointOrganizerDelegate
- Parameters:
- listener- listener to remove
 
- 
fireCategoryChangedFires a property change notification for the given category.- Parameters:
- category- category that has changed
 
- 
getCategoriesDescription copied from interface:IBreakpointOrganizerDelegateReturns all categories managed by this organizer, ornull. Whennullis 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.- Specified by:
- getCategoriesin interface- IBreakpointOrganizerDelegate
- Returns:
- all categories managed by this organizer, or null
 
 
-