org.netbeans.spi.debugger.ui/1 2.14.1

org.netbeans.spi.debugger.ui
Class BreakpointType

java.lang.Object
  extended by org.netbeans.spi.debugger.ui.BreakpointType

public abstract class BreakpointType
extends Object

Support for "New Breakpoint" dialog and Breakpoint Customizer. Represents one breakpoint type.


Constructor Summary
BreakpointType()
           
 
Method Summary
abstract  String getCategoryDisplayName()
          Display name of cathegory of this breakpoint type.
 Controller getController()
          Return the implementation of Controller interface.
In cases when it's not desired to implement Controller interface by the JComponent returned from getCustomizer() method, because of the clash of Controller.isValid() method with Component.isValid(), an explicit implementation can be returned by overriding this method.
abstract  JComponent getCustomizer()
          Returns visual customizer for this breakpoint type.
abstract  String getTypeDisplayName()
          Return display name of this breakpoint type (like "Line Breakppoint").
abstract  boolean isDefault()
          Should return true of this breakpoint type should be default one in the current context.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

BreakpointType

public BreakpointType()
Method Detail

getCategoryDisplayName

public abstract String getCategoryDisplayName()
Display name of cathegory of this breakpoint type. Cathegory typically represents one debugger language.

Returns:
display name of cathegory of this breakpoint type

getTypeDisplayName

public abstract String getTypeDisplayName()
Return display name of this breakpoint type (like "Line Breakppoint").

Returns:
display name of this breakpoint type

getCustomizer

public abstract JComponent getCustomizer()
Returns visual customizer for this breakpoint type. Customizer can optionally implement Controller interface. In that case please notice the clash of Controller.isValid() method with Component.isValid() and consider extending getController() method in case you need to provide false validity in some cases.

Returns:
visual customizer for this breakpoint type

getController

public Controller getController()
Return the implementation of Controller interface.
In cases when it's not desired to implement Controller interface by the JComponent returned from getCustomizer() method, because of the clash of Controller.isValid() method with Component.isValid(), an explicit implementation can be returned by overriding this method. The default implementation returns null, in which case the customizer component is cast to Controller.

Returns:
Controller implementation or null.
Since:
2.14

isDefault

public abstract boolean isDefault()
Should return true of this breakpoint type should be default one in the current context. Default breakpoint type is selected one when the New Breakpoint dialog is opened.

Returns:
true of this breakpoint type should be default

org.netbeans.spi.debugger.ui/1 2.14.1

Built on November 10 2008.  |  Portions Copyright 1997-2007 Sun Microsystems, Inc. All rights reserved.