Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Programming
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Databases
Mail Systems
openSolaris
Eclipse Documentation
Techotopia.com
Virtuatopia.com
Answertopia.com

How To Guides
Virtualization
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Windows
Problem Solutions
Privacy Policy

  




 

 


Eclipse Platform
Release 3.5

org.eclipse.debug.ui
Class AbstractBreakpointOrganizerDelegate


java.lang.Object
  extended by 
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 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

AbstractBreakpointOrganizerDelegate

public AbstractBreakpointOrganizerDelegate()
Method Detail

addBreakpoint

public void addBreakpoint(
IBreakpoint breakpoint,
                          
IAdaptable category)
Description copied from interface: IBreakpointOrganizerDelegate
Adds the specified breakpoint to the given category. Only called if canAdd(...) returns true for the given breakpoint and category.

Specified by:
addBreakpoint in interface IBreakpointOrganizerDelegate
Parameters:
breakpoint - breakpoint to recategorize
category - the breakpoint's new category

addPropertyChangeListener

public void addPropertyChangeListener(
IPropertyChangeListener listener)
Description copied from interface: IBreakpointOrganizerDelegate
Adds the specified listener. Has no effect if an identical listener is already registered.

Specified by:
addPropertyChangeListener in interface IBreakpointOrganizerDelegate
Parameters:
listener - listener to add

canAdd

public boolean canAdd(
IBreakpoint breakpoint,
                      
IAdaptable category)
Description copied from interface: IBreakpointOrganizerDelegate
Returns whether the given breakpoint can be categorized in the specified category.

Specified by:
canAdd in 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

canRemove

public boolean canRemove(
IBreakpoint breakpoint,
                         
IAdaptable category)
Description copied from interface: IBreakpointOrganizerDelegate
Returns whether the given breakpoint can be removed from the given category.

Specified by:
canRemove in 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

dispose

public void dispose()
Description copied from interface: IBreakpointOrganizerDelegate
Disposes this breakpoint organizer.

Specified by:
dispose in interface IBreakpointOrganizerDelegate

removeBreakpoint

public void removeBreakpoint(
IBreakpoint breakpoint,
                             
IAdaptable category)
Description copied from interface: IBreakpointOrganizerDelegate
Removes the specified breakpoint from the given category. Only called if canRemove(...) returns true for the given breakpoint and category.

Specified by:
removeBreakpoint in interface IBreakpointOrganizerDelegate
Parameters:
breakpoint - breakpoint to recategorize
category - the category the breakpoint is remove from

removePropertyChangeListener

public void removePropertyChangeListener(
IPropertyChangeListener listener)
Description copied from interface: IBreakpointOrganizerDelegate
Removes the specified listener. Has no effect if an identical listener is not already registered.

Specified by:
removePropertyChangeListener in interface IBreakpointOrganizerDelegate
Parameters:
listener - listener to remove

fireCategoryChanged

protected void fireCategoryChanged(
IAdaptable category)
Fires a property change notification for the given category.

Parameters:
category - category that has changed

getCategories

public 
IAdaptable[] getCategories()
Description copied from interface: IBreakpointOrganizerDelegate
Returns all categories managed by this organizer, or 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.

Specified by:
getCategories in interface IBreakpointOrganizerDelegate
Returns:
all categories managed by this organizer, or null

Eclipse Platform
Release 3.5

Guidelines for using Eclipse APIs.

Copyright (c) Eclipse contributors and others 2000, 2008. All rights reserved.


 
 
  Published under the terms of the Eclipse Public License Version 1.0 ("EPL") Design by Interspire