com.bluemarsh.jswat.breakpoint.ui
Class MethodBreakpointUI
java.lang.Object
|
+--com.bluemarsh.jswat.breakpoint.ui.BasicBreakpointUI
|
+--com.bluemarsh.jswat.breakpoint.ui.MethodBreakpointUI
- All Implemented Interfaces:
- BreakpointUI, UIAdapter
- public class MethodBreakpointUI
- extends BasicBreakpointUI
Class MethodBreakpointUI is an adapter capable of building a user
interface to represent a method breakpoint.
- Author:
- Nathan Fiedler
Fields inherited from class com.bluemarsh.jswat.breakpoint.ui.BasicBreakpointUI |
classFiltersTextfield, enabledCheckbox, expirecountTextfield, gbc, gbl, groupCombo, originalClassFilters, originalEnabled, originalExpirecount, originalGroup, originalSkipcount, originalSuspendPolicy, originalThreadFilters, propertiesPanel, skipcountTextfield, suspendGroup, threadFiltersTextfield |
Method Summary |
void |
commit()
Commit the values stored in the user interface elements to the
object this adapter is representing (breakpoint, condition, or
monitor). |
void |
undo()
Reverse the changes made to the object this adapter is
representing (breakpoint, condition, or monitor). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
targetBreakpoint
protected MethodBreakpoint targetBreakpoint
- Breakpoint that we are working against.
originalMethodName
protected java.lang.String originalMethodName
- Original method name.
originalMethodArgs
protected java.util.List originalMethodArgs
- Original method arguments.
methodNameTextfield
protected javax.swing.JTextField methodNameTextfield
- Breakpoint's method name text field.
methodArgsTextfield
protected javax.swing.JTextField methodArgsTextfield
- Breakpoint's method arguments text field.
MethodBreakpointUI
public MethodBreakpointUI(MethodBreakpoint bp)
- Create a MethodBreakpointUI that will operate on the given breakpoint.
- Parameters:
bp
- breakpoint to be edited.
commit
public void commit()
- Commit the values stored in the user interface elements to the
object this adapter is representing (breakpoint, condition, or
monitor).
- Overrides:
commit
in class BasicBreakpointUI
undo
public void undo()
- Reverse the changes made to the object this adapter is
representing (breakpoint, condition, or monitor). This must
not modify the user interface widgets.
- Overrides:
undo
in class BasicBreakpointUI
- Following copied from interface:
com.bluemarsh.jswat.breakpoint.ui.UIAdapter
- Throws:
UnsupportedOperationException
- Thrown if this operation is not supported.