com.bluemarsh.jswat.breakpoint.ui
Interface UIAdapter

All Known Subinterfaces:
BreakpointUI, ConditionUI, MonitorUI

public interface UIAdapter

Interface UIAdapter defines the methods necessary for a breakpoint, monitor, or condition UI adapter implementation.

Author:
Nathan Fiedler

Method Summary
 void commit()
          Commit the values stored in the user interface elements to the object this adapter is representing (breakpoint, condition, or monitor).
 java.awt.Component getUI()
          Return a reference to the user interface element that this adapter uses to graphically represent the breakpoint, condition, or monitor.
 void undo()
          Reverse the changes made to the object this adapter is representing (breakpoint, condition, or monitor).
 

Method Detail

commit

public void commit()
Commit the values stored in the user interface elements to the object this adapter is representing (breakpoint, condition, or monitor).

getUI

public java.awt.Component getUI()
Return a reference to the user interface element that this adapter uses to graphically represent the breakpoint, condition, or monitor. This may be a container that has several user interface elements inside it.
Returns:
user interface ocmponent.

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.
Throws:
UnsupportedOperationException - Thrown if this operation is not supported.