Package com.ganteater.ae.desktop.editor
Class TaskEditor
java.lang.Object
com.ganteater.ae.RecipeRunner
com.ganteater.ae.desktop.WorkPlace
com.ganteater.ae.desktop.editor.TaskEditor
- All Implemented Interfaces:
com.ganteater.ae.RecipeListener
- Version:
- 1.0, 29-Jul-2005
- Author:
- victort
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static class(package private) class -
Field Summary
FieldsFields inherited from class com.ganteater.ae.desktop.WorkPlace
aboutButtonPanel, fTitleTest, recipeFilePath, theAttacFileDialog, theConfigNameFields inherited from class com.ganteater.ae.RecipeRunner
fConfigNode, manager, RUN_MODE_APPLICATION, RUN_MODE_WEB, STATUS_FAILED, STATUS_SUCCESS -
Constructor Summary
ConstructorsConstructorDescriptionTaskEditor(AEFrame aeFrame) TaskEditor(AEFrame frame, com.ganteater.ae.util.xml.easyparser.Node aConfigNode, Map<String, Object> aSystemVariables) -
Method Summary
Modifier and TypeMethodDescriptionvoidvoidchangeVariable(String aAttribut, Object aValue) voidcheckFailure(com.ganteater.ae.CommandException exception, com.ganteater.ae.processor.Processor processor) voidcloseTab()voidcontextHelp(DialogPopupMenu menu) voidcom.ganteater.ae.ILoggervoidcriticalError(com.ganteater.ae.CommandException exception, com.ganteater.ae.processor.Processor processor) voidvoidendTask(boolean aErrorState) voiderrorInformation(com.ganteater.ae.processor.Processor processor, Throwable exception, com.ganteater.ae.util.xml.easyparser.Node command) voidformat()intgetFrame()getText()booleanbooleanvoidoutputPaneAdd(LogView logPanel) voidoutToView(com.ganteater.ae.processor.Processor processor, Properties properties, Object value) voidpause()protected voidvoidreload()voidvoidreplaceRange(String text, int i, int caretPosition2) voidresume()voidrunCode(boolean runSelectedCode) voidrunCommandView(Properties params) voidrunTask()voidvoidrunTest(com.ganteater.ae.util.xml.easyparser.Node[] testNode) voidsave()voidsaveTask()voidselect()voidsetActiveTest(String theActiveTest) voidsetLog(com.ganteater.ae.ILogger log) voidsetProgress(String message, long aMaxTags, long aCurrTags, boolean aErrorState) voidsetRunButtonAction(boolean runAction) voidvoidsetTaskNode(com.ganteater.ae.util.xml.easyparser.Node taskNode) voidvoidshowPanel(JTabbedPane panel, String name) voidvoidvoidstartCommand(int aNumberCommand) voidstopTask()Methods inherited from class com.ganteater.ae.desktop.WorkPlace
getAeFrame, getTaskProcessor, getTestFile, inputFile, runTest, setAbout, setTestName, setTestsFile, startTaskMethods inherited from class com.ganteater.ae.RecipeRunner
closePort, createPort, exceptionIgnored, getConfigNode, getLogger, getManager, getRunMode, getStatus, getSystemVariables, getTaskNode, getTitle, main, makeRecipe, setProcessor, setRunMode, startChildProcess, stopChildProcess, stopTest
-
Field Details
-
font
-
EDITOR_STD_PACKAGE
- See Also:
-
fNumberLog
int fNumberLog
-
-
Constructor Details
-
TaskEditor
public TaskEditor(AEFrame frame, com.ganteater.ae.util.xml.easyparser.Node aConfigNode, Map<String, Object> aSystemVariables) throws com.ganteater.ae.CommandException- Throws:
com.ganteater.ae.CommandException
-
TaskEditor
- Throws:
com.ganteater.ae.CommandException
-
-
Method Details
-
setSplitPanel
-
reload
-
save
- Throws:
IOException
-
format
-
setProgress
- Specified by:
setProgressin interfacecom.ganteater.ae.RecipeListener- Overrides:
setProgressin classcom.ganteater.ae.RecipeRunner
-
stopTask
-
compileTask
-
showPanel
-
getMainPanel
-
endTask
-
refreshTaskTree
-
changeVariable
- Specified by:
changeVariablein interfacecom.ganteater.ae.RecipeListener- Overrides:
changeVariablein classcom.ganteater.ae.RecipeRunner
-
startCommand
- Specified by:
startCommandin interfacecom.ganteater.ae.RecipeListener- Overrides:
startCommandin classcom.ganteater.ae.RecipeRunner
-
aboutTest
-
runCommandView
- Specified by:
runCommandViewin interfacecom.ganteater.ae.RecipeListener- Overrides:
runCommandViewin classcom.ganteater.ae.RecipeRunner
-
outToView
public void outToView(com.ganteater.ae.processor.Processor processor, Properties properties, Object value) - Specified by:
outToViewin interfacecom.ganteater.ae.RecipeListener- Overrides:
outToViewin classcom.ganteater.ae.RecipeRunner
-
removeActivePresentationPanel
-
createLog
-
setLog
- Overrides:
setLogin classcom.ganteater.ae.RecipeRunner
-
errorInformation
public void errorInformation(com.ganteater.ae.processor.Processor processor, Throwable exception, com.ganteater.ae.util.xml.easyparser.Node command) throws com.ganteater.ae.CommandException - Specified by:
errorInformationin interfacecom.ganteater.ae.RecipeListener- Overrides:
errorInformationin classcom.ganteater.ae.RecipeRunner- Throws:
com.ganteater.ae.CommandException
-
outputPaneAdd
-
setActiveTest
- Overrides:
setActiveTestin classWorkPlace- Throws:
com.ganteater.ae.CommandException
-
runTaskNode
-
runCode
public void runCode(boolean runSelectedCode) throws BadLocationException, com.ganteater.ae.CommandException - Throws:
BadLocationExceptioncom.ganteater.ae.CommandException
-
start
-
setRunButtonAction
-
edit
-
create
-
getPanelName
-
saveTask
- Throws:
IOException
-
runTask
-
criticalError
public void criticalError(com.ganteater.ae.CommandException exception, com.ganteater.ae.processor.Processor processor) - Specified by:
criticalErrorin interfacecom.ganteater.ae.RecipeListener- Overrides:
criticalErrorin classWorkPlace
-
checkFailure
public void checkFailure(com.ganteater.ae.CommandException exception, com.ganteater.ae.processor.Processor processor) - Specified by:
checkFailurein interfacecom.ganteater.ae.RecipeListener- Overrides:
checkFailurein classWorkPlace
-
closeTab
-
showAbout
-
showTaskTreePane
-
getCaretPosition
-
getMagicCaretPosition
-
getText
-
replaceRange
-
contextHelp
-
runTest
- Overrides:
runTestin classcom.ganteater.ae.RecipeRunner
-
getFrame
-
pause
- Specified by:
pausein interfacecom.ganteater.ae.RecipeListener- Overrides:
pausein classcom.ganteater.ae.RecipeRunner
-
resume
- Specified by:
resumein interfacecom.ganteater.ae.RecipeListener- Overrides:
resumein classcom.ganteater.ae.RecipeRunner
-
isRunning
-
getEditor
-
select
-
setTaskNode
- Overrides:
setTaskNodein classcom.ganteater.ae.RecipeRunner
-
isNotifyMe
- Specified by:
isNotifyMein interfacecom.ganteater.ae.RecipeListener- Overrides:
isNotifyMein classcom.ganteater.ae.RecipeRunner
-