ix.test
Class SimpleExpandingSimulator

java.lang.Object
  extended by ix.icore.IXAgent
      extended by ix.ip2.Ip2
          extended by ix.test.SimpleExpandingSimulator

public class SimpleExpandingSimulator
extends Ip2


Nested Class Summary
protected static class SimpleExpandingSimulator.SimController
           
 
Nested classes/interfaces inherited from class ix.ip2.Ip2
Ip2.AddExtensionsHandler, Ip2.AddHandlersHandler
 
Field Summary
protected  boolean trace
           
protected  java.io.PrintStream traceOut
           
 
Fields inherited from class ix.ip2.Ip2
activityViewer, agentTypeName, annotationViewer, controller, domain, frame, issueViewer, logoImage, logoLine1, logoLine2, modelManager, optionManager, resetHooks, showOptions, stateViewer
 
Fields inherited from class ix.icore.IXAgent
contactManager, displayName, eventLogger, exitHooks, initialDisplayName, ipcName, ipcStrategyName, iSimTimer, mainAgent, nameListeners, startupDate, startupHooks, symbolName, textFrame
 
Constructor Summary
  SimpleExpandingSimulator()
           
protected SimpleExpandingSimulator(boolean setAgent)
           
 
Method Summary
protected  void addHandlers()
          Install any built-in issue and activity handlers.
 void completeStartup()
          Called in the AWT event thread to make the main GUI frame visible and perform any additional setup that ought to be done in that thread.
(package private)  void getPatternsAndRun()
           
 SimpleExpandingSimulator.SimController getSimController()
           
static void main(java.lang.String[] argv)
           
protected  PanelController makeController()
          Called to create this agent's controller.
(package private)  void simulateExecution(java.util.List patterns)
           
 
Methods inherited from class ix.ip2.Ip2
addAboutInfo, addForwardingHandler, addHandlers, addResetHook, addTest, addTestMenuItems, addTool, clearAllButState, clearModel, do_reloadViewers, ensureTool, getActivityPatternSyntaxes, getAgentTypeName, getController, getDomain, getFrame, getIp2ModelManager, getModelManager, getOptionManager, getPlan, handleInput, handleInputDirectly, handleNewActivity, handleNewChatMessage, handleNewConstraint, handleNewIssue, handleNewReport, initOptions, isReloadingViewers, loadDomain, loadInitialPlan, loadPlan, loadPlan, loadPlan, makeActivityViewer, makeAnnotationViewer, makeIp2Frame, makeIssueViewer, makeLogoPanel, makeModelManager, makeStateViewer, makeViewer, processCommandLineArguments, readDomain, readDomain, reloadViewers, reset, resetAllButState, resetViewers, savePlanAs, startup
 
Methods inherited from class ix.icore.IXAgent
addAgentNameListener, addExitHook, addStartupHook, adjustLookAndFeel, displayMessage, do_mainStartup, exit, fireSymbolNameChanged, getAgent, getAgentDisplayName, getAgentIPCName, getAgentStartupDate, getAgentSymbolName, getContactManager, getEventLogger, getISimTimer, getKnownAgents, handleReceivedReport, installAgentExtensions, installAgentExtensions, isMainAgent, log, mainStartup, notePossibleNewContact, pre_handleInput, preprocessInput, reportInputException, setAgentSymbolName, setEventLogger, setupISimTimer, startServer
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

traceOut

protected java.io.PrintStream traceOut

trace

protected boolean trace
Constructor Detail

SimpleExpandingSimulator

public SimpleExpandingSimulator()

SimpleExpandingSimulator

protected SimpleExpandingSimulator(boolean setAgent)
Method Detail

main

public static void main(java.lang.String[] argv)

completeStartup

public void completeStartup()
Description copied from class: Ip2
Called in the AWT event thread to make the main GUI frame visible and perform any additional setup that ought to be done in that thread.

Overrides:
completeStartup in class Ip2
See Also:
Ip2Frame.becomeVisible()

getSimController

public SimpleExpandingSimulator.SimController getSimController()

makeController

protected PanelController makeController()
Description copied from class: Ip2
Called to create this agent's controller.

Overrides:
makeController in class Ip2

addHandlers

protected void addHandlers()
Description copied from class: Ip2
Install any built-in issue and activity handlers. Note that the order in which handlers are added here is also the order in which they are asked to add handler-actions.

Overrides:
addHandlers in class Ip2

getPatternsAndRun

void getPatternsAndRun()

simulateExecution

void simulateExecution(java.util.List patterns)