| 
The Meta-Environment API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecttoolbus.viewer.AbstractViewerAdapter
public abstract class AbstractViewerAdapter
This is a convenience class for implementing viewer event listeners.
| Constructor Summary | |
|---|---|
AbstractViewerAdapter()
Default constructor.  | 
|
| Method Summary | |
|---|---|
 void | 
performanceStatsArrived(ToolInstance toolInstance,
                                               aterm.ATerm term)
Fired when the performance statistics that were requested by the debug ToolBus arrived.  | 
 void | 
processBreakPointHit(ProcessInstance processInstance)
Informs the viewer that a registered breakpoint on a process or process instance was hit.  | 
 void | 
processInstanceStarted(ProcessInstance processInstance)
Fired when a new process instance is started.  | 
 void | 
processInstanceTerminated(ProcessInstance processInstance)
Fired when a process instance is terminated.  | 
 void | 
sourceBreakPointHit(StateElement stateElement)
Informs the viewer that a registered breakpoint on a sourcecode coordinate was hit.  | 
 void | 
stateElementBreakPointHit(StateElement stateElement)
Informs the viewer that a registered breakpoint on a state element was hit.  | 
 void | 
stepExecuted(ProcessInstance processInstance,
                         StateElement executedStateElement,
                         ProcessInstance[] partners)
Fired after the successfull completion of a step.  | 
 void | 
toolbusStarting()
Fired right before the debug ToolBus starts executing the process logic.  | 
 void | 
toolbusTerminating()
Fired right before then debug ToolBus shuts down.  | 
 void | 
toolConnected(ToolInstance toolInstance)
Fired when a tool connects.  | 
 void | 
toolConnectionClosed(ToolInstance toolInstance)
Fired when a connection with a tool is terminated.  | 
 void | 
updateState(int state)
Informs the viewer about what the debug toolbus is currently doing.  | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait | 
| Constructor Detail | 
|---|
public AbstractViewerAdapter()
| Method Detail | 
|---|
public void processBreakPointHit(ProcessInstance processInstance)
IViewer
processBreakPointHit in interface IViewerprocessInstance - The process instance that matches the breakpoint.IViewer.processBreakPointHit(ProcessInstance)public void processInstanceStarted(ProcessInstance processInstance)
IViewer
processInstanceStarted in interface IViewerprocessInstance - The process instance that was started.IViewer.processInstanceStarted(ProcessInstance)public void processInstanceTerminated(ProcessInstance processInstance)
IViewer
processInstanceTerminated in interface IViewerprocessInstance - The process instance that was terminated.IViewer.processInstanceTerminated(ProcessInstance)public void sourceBreakPointHit(StateElement stateElement)
IViewer
sourceBreakPointHit in interface IViewerstateElement - The executed state element which's position information corresponded to a
            breakpoint set on a sourcecode coordinate.IViewer.sourceBreakPointHit(StateElement)public void stateElementBreakPointHit(StateElement stateElement)
IViewer
stateElementBreakPointHit in interface IViewerstateElement - The state element on which the breakpoint was set.IViewer.stateElementBreakPointHit(StateElement)
public void stepExecuted(ProcessInstance processInstance,
                         StateElement executedStateElement,
                         ProcessInstance[] partners)
IViewer
stepExecuted in interface IViewerprocessInstance - The process instance in which a state element was executed.executedStateElement - The state element that was executed.partners - All the process instances that cooperated during the execution of the state element.IViewer.stepExecuted(ProcessInstance, StateElement, ProcessInstance[])public void toolbusStarting()
IViewer
toolbusStarting in interface IViewerIViewer.toolbusStarting()public void toolbusTerminating()
IViewer
toolbusTerminating in interface IViewerIViewer.toolbusTerminating()public void updateState(int state)
IViewer
updateState in interface IViewerstate - The state that identifies what the debug toolbus is currently doing.IViewer.updateState(int)
public void performanceStatsArrived(ToolInstance toolInstance,
                                    aterm.ATerm term)
IPerformanceMonitor
performanceStatsArrived in interface IPerformanceMonitortoolInstance - The tool instance the performance statistics are associated with.term - The term that contains the performance statistics data.IPerformanceMonitor.performanceStatsArrived(ToolInstance, ATerm)public void toolConnected(ToolInstance toolInstance)
IPerformanceMonitor
toolConnected in interface IPerformanceMonitortoolInstance - The tool instance associated with the tool that connected.IPerformanceMonitor.toolConnected(ToolInstance)public void toolConnectionClosed(ToolInstance toolInstance)
IPerformanceMonitor
toolConnectionClosed in interface IPerformanceMonitortoolInstance - The tool instance associated with the tool that is no longer connected.IPerformanceMonitor.toolConnectionClosed(ToolInstance)
  | 
The Meta-Environment API | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||