ix.test
Class Ip2Example

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

public class Ip2Example
extends Ip2

An example of various ways to entend BasicIp2.


Nested Class Summary
protected  class Ip2Example.ExampleToolController
           
 
Nested classes/interfaces inherited from class ix.ip2.Ip2
Ip2.AddExtensionsHandler, Ip2.AddHandlersHandler
 
Field Summary
 
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
Ip2Example()
           
 
Method Summary
protected  void addExampleTool()
          Adds a simple tool.
protected  void addHandlers()
          Called to add issue and activity handlers.
protected  void addTestMenuItems()
          Called to add items to the main frame menu bar's "Test" menu.
protected  void completeStartup()
          Completes setup and initialization.
static void main(java.lang.String[] argv)
           
protected  void processCommandLineArguments()
          Command-line argument processing.
 
Methods inherited from class ix.ip2.Ip2
addAboutInfo, addForwardingHandler, addHandlers, addResetHook, addTest, 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, makeController, makeIp2Frame, makeIssueViewer, makeLogoPanel, makeModelManager, makeStateViewer, makeViewer, 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
 

Constructor Detail

Ip2Example

public Ip2Example()
Method Detail

main

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

processCommandLineArguments

protected void processCommandLineArguments()
Command-line argument processing.

Overrides:
processCommandLineArguments in class Ip2
See Also:
IFUtil.adjustLookAndFeel(), IPC.makeCommunicationStrategy(String methodName), ContactManager.processCommandLineArguments(), Debug.on, Parameters

completeStartup

protected void completeStartup()
Completes setup and initialization.

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

addExampleTool

protected void addExampleTool()
Adds a simple tool.


addTestMenuItems

protected void addTestMenuItems()
Called to add items to the main frame menu bar's "Test" menu.

Overrides:
addTestMenuItems in class Ip2
See Also:
Parameters, PanelFrame.addTests(String)

addHandlers

protected void addHandlers()
Called to add issue and activity handlers.

Overrides:
addHandlers in class Ip2