GATE
Version 3.1-2270

debugger.resources
Class PhaseController

java.lang.Object
  extended by debugger.resources.PhaseController
All Implemented Interfaces:
AnnotationSetListener, EventListener

public class PhaseController
extends Object
implements AnnotationSetListener

Copyright (c) Ontos AG (http://www.ontosearch.com). This class is part of JAPE Debugger component for GATE (Copyright (c) "The University of Sheffield" see http://gate.ac.uk/)

Author:
Andrey Shafirin

Constructor Summary
PhaseController()
           
 
Method Summary
 void annotationAdded(AnnotationSetEvent e)
          Called when a new Annotation has been added
 void annotationRemoved(AnnotationSetEvent e)
          Called when an Annotation has been removed
 void continueSPT()
           
 TraceContainer getRuleTrace()
           
 SinglePhaseTransducer getSPT()
           
 boolean isStopAfterRHSExec()
           
 void RuleFinished(SPTLock sptLock, SinglePhaseTransducer spt, RightHandSide rhs, Document document, HashMap bindings, AnnotationSet inputAS, AnnotationSet outputAS)
           
 void RuleMatched(SPTLock sptLock, SinglePhaseTransducer spt, RightHandSide rhs, Document document, HashMap bindings, AnnotationSet inputAS, AnnotationSet outputAS)
           
 void runControllerButtonActionPerformed(ActionEvent ae)
           
 void setStopAfterRHSExec(boolean stopAfterRHSExec)
           
 void TraceTransit(TraceContainer traceContainer)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PhaseController

public PhaseController()
Method Detail

isStopAfterRHSExec

public boolean isStopAfterRHSExec()

setStopAfterRHSExec

public void setStopAfterRHSExec(boolean stopAfterRHSExec)

continueSPT

public void continueSPT()

RuleMatched

public void RuleMatched(SPTLock sptLock,
                        SinglePhaseTransducer spt,
                        RightHandSide rhs,
                        Document document,
                        HashMap bindings,
                        AnnotationSet inputAS,
                        AnnotationSet outputAS)

RuleFinished

public void RuleFinished(SPTLock sptLock,
                         SinglePhaseTransducer spt,
                         RightHandSide rhs,
                         Document document,
                         HashMap bindings,
                         AnnotationSet inputAS,
                         AnnotationSet outputAS)

annotationAdded

public void annotationAdded(AnnotationSetEvent e)
Called when a new Annotation has been added

Specified by:
annotationAdded in interface AnnotationSetListener

annotationRemoved

public void annotationRemoved(AnnotationSetEvent e)
Called when an Annotation has been removed

Specified by:
annotationRemoved in interface AnnotationSetListener

runControllerButtonActionPerformed

public void runControllerButtonActionPerformed(ActionEvent ae)

TraceTransit

public void TraceTransit(TraceContainer traceContainer)

getRuleTrace

public TraceContainer getRuleTrace()

getSPT

public SinglePhaseTransducer getSPT()

GATE
Version 3.1-2270