|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--EASE.Agents.Specification.Specification
Main class for Agent Specification GUI
Field Summary | |
private static AllAgents |
agents
|
private AgentSpecification |
agentSpec
|
private static Specification |
condSpec
|
static java.io.File |
currentFile
|
private Debugger |
debugger
|
static boolean |
editing
|
private javax.swing.JPanel |
emptyP
|
private static EnvironmentSpecification |
env
|
private static java.lang.String |
envName
|
static javax.swing.JFileChooser |
fileChooser
|
private javax.swing.JMenu |
fileM
|
private javax.swing.JFrame |
frame
|
(package private) java.awt.GridBagConstraints |
gbc
|
private javax.swing.JPanel |
main
|
private javax.swing.JMenuBar |
menuBar
|
private OpenFileAction |
openAction
|
private QuitAction |
quitAction
|
private SaveFileAction |
saveAction
|
private SetStartAgentsAction |
setStartAction
|
private javax.swing.JPanel |
specHolder
|
static boolean |
unsaved
|
Constructor Summary | |
Specification(java.lang.String envClass)
Constructor |
Method Summary | |
(package private) void |
|
void |
actionPerformed(java.awt.event.ActionEvent e)
|
static AllAgents |
getAgents()
|
static Specification |
getConditionSpecification()
|
static Specification |
getConditionSpecification(java.lang.String envName)
Version ued by runtime engine because envName is not set |
java.io.File |
getCurrentFile()
|
static EnvironmentSpecification |
getEnvironment()
|
javax.swing.JFrame |
getFrame()
|
java.util.Vector |
getStarters()
Get the agents to run at start up. |
static Specification |
getUniqueConditionSpecification()
For getting a condspec when more than one might be requried at once |
static void |
main(java.lang.String[] args)
Needs to be updated to take env from command line -path command line argument gives the paths to search for files (separated by %'s). -env name Tells EASE to use environment name. |
private void |
newAgentSpec(Agent a)
Set up the agent specification panel |
void |
setCurrentFile(java.io.File f)
|
void |
setFile(FileFormat f)
This method is called when a file is loaded. |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
registerNatives,
toString,
wait,
wait,
wait |
Field Detail |
private static AllAgents agents
private static Specification condSpec
private static EnvironmentSpecification env
private static java.lang.String envName
public static boolean unsaved
public static boolean editing
public static javax.swing.JFileChooser fileChooser
public static java.io.File currentFile
private javax.swing.JFrame frame
private AgentSpecification agentSpec
private OpenFileAction openAction
private SaveFileAction saveAction
private QuitAction quitAction
private SetStartAgentsAction setStartAction
private javax.swing.JMenu fileM
private javax.swing.JMenuBar menuBar
private javax.swing.JPanel main
private javax.swing.JPanel specHolder
private javax.swing.JPanel emptyP
private Debugger debugger
java.awt.GridBagConstraints gbc
Constructor Detail |
public Specification(java.lang.String envClass)
envClass
- is the environment to use. Method Detail |
public static void main(java.lang.String[] args)
-path command line argument gives the paths to search for files (separated by %'s).
-env name Tells EASE to use environment name. Default is TACSIEnvironment
public static AllAgents getAgents()
public javax.swing.JFrame getFrame()
public java.io.File getCurrentFile()
public void setCurrentFile(java.io.File f)
public void setFile(FileFormat f)
Making the StartAgentsWindow sets up those change listeners.
public java.util.Vector getStarters()
public static Specification getConditionSpecification()
public static Specification getUniqueConditionSpecification()
public static Specification getConditionSpecification(java.lang.String envName)
public static EnvironmentSpecification getEnvironment()
public void actionPerformed(java.awt.event.ActionEvent e)
private void newAgentSpec(Agent a)
void()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |