ix.ideel
Class BasicIdeel

java.lang.Object
  |
  +--ix.icore.IXAgent
        |
        +--ix.ideel.BasicIdeel
All Implemented Interfaces:
StatusValues
Direct Known Subclasses:
I_DEEL, Ip2Example

public class BasicIdeel
extends IXAgent
implements StatusValues

The generic I-DEEL class and application main program


Inner Class Summary
static class BasicIdeel.DelegateHandler
           
static class BasicIdeel.EscalateHandler
           
static class BasicIdeel.ForwardingIssueHandler
           
 
Field Summary
protected  IdeelController controller
           
protected  java.lang.String displayName
           
protected  Domain domain
           
protected  java.lang.String domainName
           
protected  IdeelFrame frame
           
protected  java.lang.String ipcName
           
protected  IssueViewingTable issueViewer
           
protected  java.lang.String logoImage
           
protected  java.lang.String logoLine1
           
protected  java.lang.String logoLine2
           
protected  java.lang.String symbolName
           
 
Fields inherited from class ix.icore.IXAgent
textFrame, thisAgent
 
Fields inherited from interface ix.icore.process.StatusValues
PRIORITY_HIGH, PRIORITY_LOW, PRIORITY_MEDIUM, PRIORITY_NONE, PRODUCT_BLANK, PRODUCT_COMPLETE, PRODUCT_DRAFT, STATUS_BLANK, STATUS_COMPLETE, STATUS_EXECUTING, STATUS_IMPOSSIBLE, STATUS_NA, STATUS_POSSIBLE
 
Constructor Summary
BasicIdeel()
           
 
Method Summary
protected  void addIdeelIssueHandlers()
          Install any generic issue handlers for issues it can handle automatically.
protected  void addTestMenuItems()
          Called when the main frame is set up to add items to the frame menu bar's "Test" menu.
 java.lang.Object getAgentIPCName()
          Returns the object used to represent the agent as an IPC "destination".
 java.lang.Object getAgentSymbolName()
          Returns this agent's symbol name.
 void handleInput(IPC.InputMessage message)
          Handles chat messages in addition to the types of input handled by the super method.
 void handleNewChatMessage(ix.ichat.ChatMessage message)
          Handles new chat messages.
 void handleNewIssue(Issue issue)
          Handles new issues from external sources.
 void handleNewReport(Report report)
          Handles new reports from external sources.
static void main(java.lang.String[] argv)
          Main program.
protected  javax.swing.JPanel makeLogoPanel()
          Makes the LogoPanel for the application's main frame.
protected  void processCommandLineArguments()
          Command-line argument processing for arguments used by all versions of I-DEEL.
protected  void readDomain(Domain domain)
          Read in any default domain description.
 void reset()
          Called to restore the initial state.
 void startup()
          Completes basic I-DEEL setup and initialization.
 
Methods inherited from class ix.icore.IXAgent
displayMessage, getAgent, mainStartup, pre_handleInput, startServer
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

domain

protected Domain domain

frame

protected IdeelFrame frame

controller

protected IdeelController controller

issueViewer

protected IssueViewingTable issueViewer

displayName

protected java.lang.String displayName

symbolName

protected java.lang.String symbolName

logoLine1

protected java.lang.String logoLine1

logoLine2

protected java.lang.String logoLine2

logoImage

protected java.lang.String logoImage

ipcName

protected java.lang.String ipcName

domainName

protected java.lang.String domainName
Constructor Detail

BasicIdeel

public BasicIdeel()
Method Detail

getAgentIPCName

public java.lang.Object getAgentIPCName()
Description copied from class: IXAgent
Returns the object used to represent the agent as an IPC "destination". This object is usually, but not necessarily, a string containing the agent's name. The details will depend on the set of communication strategies that might be used.
Overrides:
getAgentIPCName in class IXAgent
Following copied from class: ix.icore.IXAgent
See Also:
IPC, IPC.CommunicationStrategy

getAgentSymbolName

public java.lang.Object getAgentSymbolName()
Description copied from class: IXAgent
Returns this agent's symbol name.
Overrides:
getAgentSymbolName in class IXAgent

main

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

processCommandLineArguments

protected void processCommandLineArguments()
Command-line argument processing for arguments used by all versions of I-DEEL.
Overrides:
processCommandLineArguments in class IXAgent
Following copied from class: ix.icore.IXAgent
See Also:
ix.iface.Iface#adjustLookAndFeel(), IPC.getCommunicationStrategy(String methodName), Debug.on, Parameters

startup

public void startup()
Completes basic I-DEEL setup and initialization.
Overrides:
startup in class IXAgent

readDomain

protected void readDomain(Domain domain)
Read in any default domain description.

makeLogoPanel

protected javax.swing.JPanel makeLogoPanel()
Makes the LogoPanel for the application's main frame. This method is in this class to make it easier to define versions that have a different logo panel.

addTestMenuItems

protected void addTestMenuItems()
Called when the main frame is set up to add items to the frame menu bar's "Test" menu. This method is in this class, rather than in the frame class, to make it easier to define versions that have different test items.

reset

public void reset()
Called to restore the initial state.

handleInput

public void handleInput(IPC.InputMessage message)
Handles chat messages in addition to the types of input handled by the super method.
Overrides:
handleInput in class IXAgent

handleNewIssue

public void handleNewIssue(Issue issue)
Handles new issues from external sources.
Overrides:
handleNewIssue in class IXAgent

handleNewReport

public void handleNewReport(Report report)
Handles new reports from external sources.
Overrides:
handleNewReport in class IXAgent

handleNewChatMessage

public void handleNewChatMessage(ix.ichat.ChatMessage message)
Handles new chat messages.

addIdeelIssueHandlers

protected void addIdeelIssueHandlers()
Install any generic issue handlers for issues it can handle automatically.