|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectedu.utep.cs.utjml.canica.tool.ToolController
public class ToolController
Implementation class of the Toolable class. This ToolController class implements the services of the Toolable class. It is the controller of the Tool Subsystem.
| Constructor Summary | |
|---|---|
ToolController(Mainable canica,
OutputPaneable output)
Constructor |
|
| Method Summary | |
|---|---|
void |
checkJML()
This service calls the JML checker tool from the UTJML tools system to check JML syntax to a single Java file. |
void |
checkJMLCurrAndSubdirs()
This service calls the JML checker tool from the UTJML tools system to check JML syntax to all files under specific directory and all subdirectories. |
void |
checkJMLCurrentDir()
This service calls the JML checker tool from the UTJML tools system to check JML syntax to all files in the current directory. |
void |
checkJMLGroupOfFiles()
This service calls the JML checker tool from the UTJML tools system to check JML syntax to a group of files. |
boolean |
compilable(String msg)
Is the current file compilable with JML? |
void |
compileJava()
Calls the Java compiler tool from the Java SDK 1.4.2 to compile the active editing Java file. |
void |
compileJavaSync(File aef)
|
void |
compileJML()
This service calls the JML compiler tool from the UTJML tools system to compile the active editing file. |
void |
compileJMLTest()
This service calls the tool from the UTJML tools system to compile the active editing file for test. |
void |
compileTestDataForTest()
This service calls the Java compiler tool from the Java SDK 1.4.2 system to compile the test data generated of the active editing file. |
void |
getAutomTestingToolAction()
This service does automatically testing to the active editing file. |
boolean |
isSuperClassEqualTo(Class classFile,
String superClassName2)
It compares classFile super class to superClassName2. |
void |
javaDoc()
This service calls the Javadoc tool from the Java SDK 1.4.2 system to generate Java documentation to a single file, a group of files, or all files under specific directory and subdirectories. |
void |
JMLDoc()
It generates JML documentation to the active editing file or files given using the JMLDoc tool from the UTJML tools. |
void |
loadAndTest()
This service lets the user load a test file in the JML editor to compile it with the Java compiler and then test it. |
Class |
loadFile(File file)
Loads the given class file for testing. |
void |
run()
This service calls the Java Virtual Machine tool from the Java SDK 1.4.2 to run the Java bytecode file of the active editing file. |
void |
runTest()
It runs the test data file class (*_JML_TestData.class) corresponding to the active editing file. |
void |
runTestGeneration()
This service calls the tool from the UTJML tools system to generate test data for a Java file. |
void |
selectRunTestClass()
It runs a test class file. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ToolController(Mainable canica,
OutputPaneable output)
canica - This IDEoutput - The output of this IDE| Method Detail |
|---|
public void compileJava()
Toolable
compileJava in interface Toolablepublic void compileJavaSync(File aef)
public void runTest()
Toolable
runTest in interface Toolablepublic void selectRunTestClass()
Toolable
selectRunTestClass in interface Toolablepublic void javaDoc()
Toolable
javaDoc in interface Toolablepublic void JMLDoc()
Toolable
JMLDoc in interface Toolablepublic void checkJML()
Toolable
checkJML in interface Toolablepublic void checkJMLCurrentDir()
Toolable
checkJMLCurrentDir in interface Toolablepublic void checkJMLGroupOfFiles()
Toolable
checkJMLGroupOfFiles in interface Toolablepublic void checkJMLCurrAndSubdirs()
Toolable
checkJMLCurrAndSubdirs in interface Toolablepublic void compileJML()
Toolable
compileJML in interface Toolablepublic void run()
Toolable
run in interface Toolablepublic void compileJMLTest()
Toolable
compileJMLTest in interface Toolablepublic void runTestGeneration()
Toolable
runTestGeneration in interface Toolablepublic void compileTestDataForTest()
Toolable
compileTestDataForTest in interface Toolablepublic void loadAndTest()
Toolable
loadAndTest in interface Toolablepublic void getAutomTestingToolAction()
Toolable
getAutomTestingToolAction in interface Toolable
public boolean isSuperClassEqualTo(Class classFile,
String superClassName2)
classFile - Class file given.superClassName2 - Class file name given.
public Class loadFile(File file)
public boolean compilable(String msg)
|
UTJML | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||