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:
AeEditPanel
,AEPanel
,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, theConfigName
Fields 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 aFrame, com.ganteater.ae.util.xml.easyparser.Node aConfigNode, Map<String, Object> aSystemVariables) -
Method Summary
Modifier and TypeMethodDescriptionvoid
void
changeVariable
(String aAttribut, Object aValue) void
checkFailure
(com.ganteater.ae.CommandException exception, com.ganteater.ae.processor.Processor processor) void
closeTab()
void
contextHelp
(DialogPopupMenu menu) void
com.ganteater.ae.ILogger
void
criticalError
(com.ganteater.ae.CommandException exception, com.ganteater.ae.processor.Processor processor) void
void
endTask
(boolean aErrorState) void
errorInformation
(com.ganteater.ae.processor.Processor processor, Throwable exception, com.ganteater.ae.util.xml.easyparser.Node command) void
format()
int
getFrame()
getText()
boolean
boolean
void
outputPaneAdd
(LogPresenter logPanel) void
outToFrame
(com.ganteater.ae.processor.Processor processor, Properties properties, Object value) void
pause()
protected void
void
reload()
void
void
replaceRange
(String text, int i, int caretPosition2) void
resume()
void
runCommandFrame
(Properties params) void
runTask()
void
void
runTest
(com.ganteater.ae.util.xml.easyparser.Node[] testNode) void
save()
void
saveTask()
void
select()
void
setActiveTest
(String theActiveTest) void
setLog
(com.ganteater.ae.ILogger log) void
setProgress
(String message, long aMaxTags, long aCurrTags, boolean aErrorState) void
setRunButtonAction
(boolean runAction) void
void
setTaskNode
(com.ganteater.ae.util.xml.easyparser.Node taskNode) void
void
showPanel
(JTabbedPane panel, String name) void
void
void
startCommand
(int aNumberCommand) void
stopTask()
Methods inherited from class com.ganteater.ae.desktop.WorkPlace
getAeFrame, getTaskProcessor, getTestFile, inputFile, runTest, setAbout, setTestName, setTestsFile, startTask
Methods 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
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.ganteater.ae.desktop.editor.AeEditPanel
getManager, getTaskProcessor
-
Field Details
-
fNumberLog
int fNumberLog
-
-
Constructor Details
-
TaskEditor
public TaskEditor(AEFrame aFrame, com.ganteater.ae.util.xml.easyparser.Node aConfigNode, Map<String, Object> aSystemVariables) -
TaskEditor
-
-
Method Details
-
setSplitPanel
-
reload
- Specified by:
reload
in interfaceAeEditPanel
-
save
- Specified by:
save
in interfaceAeEditPanel
- Throws:
IOException
-
format
- Specified by:
format
in interfaceAeEditPanel
-
setProgress
- Specified by:
setProgress
in interfacecom.ganteater.ae.RecipeListener
- Overrides:
setProgress
in classcom.ganteater.ae.RecipeRunner
-
stopTask
-
compileTask
-
showPanel
-
getMainPanel
- Specified by:
getMainPanel
in interfaceAEPanel
-
endTask
-
refreshTaskTree
-
changeVariable
- Specified by:
changeVariable
in interfacecom.ganteater.ae.RecipeListener
- Overrides:
changeVariable
in classcom.ganteater.ae.RecipeRunner
-
startCommand
- Specified by:
startCommand
in interfacecom.ganteater.ae.RecipeListener
- Overrides:
startCommand
in classcom.ganteater.ae.RecipeRunner
-
aboutTest
-
runCommandFrame
- Specified by:
runCommandFrame
in interfacecom.ganteater.ae.RecipeListener
- Overrides:
runCommandFrame
in classcom.ganteater.ae.RecipeRunner
-
outToFrame
public void outToFrame(com.ganteater.ae.processor.Processor processor, Properties properties, Object value) - Specified by:
outToFrame
in interfacecom.ganteater.ae.RecipeListener
- Overrides:
outToFrame
in classcom.ganteater.ae.RecipeRunner
-
removeActivePresentationPanel
-
createLog
- Specified by:
createLog
in interfacecom.ganteater.ae.RecipeListener
- Overrides:
createLog
in classcom.ganteater.ae.RecipeRunner
-
setLog
- Overrides:
setLog
in 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:
errorInformation
in interfacecom.ganteater.ae.RecipeListener
- Overrides:
errorInformation
in classcom.ganteater.ae.RecipeRunner
- Throws:
com.ganteater.ae.CommandException
-
outputPaneAdd
-
setActiveTest
- Overrides:
setActiveTest
in classWorkPlace
-
runTaskNode
-
start
-
setRunButtonAction
-
edit
-
create
-
getPanelName
- Specified by:
getPanelName
in interfaceAEPanel
-
saveTask
- Throws:
IOException
-
runTask
- Specified by:
runTask
in interfaceAeEditPanel
-
criticalError
public void criticalError(com.ganteater.ae.CommandException exception, com.ganteater.ae.processor.Processor processor) - Specified by:
criticalError
in interfacecom.ganteater.ae.RecipeListener
- Overrides:
criticalError
in classWorkPlace
-
checkFailure
public void checkFailure(com.ganteater.ae.CommandException exception, com.ganteater.ae.processor.Processor processor) - Specified by:
checkFailure
in interfacecom.ganteater.ae.RecipeListener
- Overrides:
checkFailure
in classWorkPlace
-
closeTab
-
showAbout
-
showTaskTreePane
-
getCaretPosition
- Specified by:
getCaretPosition
in interfaceAeEditPanel
-
getMagicCaretPosition
- Specified by:
getMagicCaretPosition
in interfaceAeEditPanel
-
getText
- Specified by:
getText
in interfaceAeEditPanel
-
replaceRange
- Specified by:
replaceRange
in interfaceAeEditPanel
-
contextHelp
- Specified by:
contextHelp
in interfaceAeEditPanel
-
runTest
- Overrides:
runTest
in classcom.ganteater.ae.RecipeRunner
-
getFrame
-
pause
- Specified by:
pause
in interfacecom.ganteater.ae.RecipeListener
- Overrides:
pause
in classcom.ganteater.ae.RecipeRunner
-
resume
- Specified by:
resume
in interfacecom.ganteater.ae.RecipeListener
- Overrides:
resume
in classcom.ganteater.ae.RecipeRunner
-
isRunning
-
getEditor
- Specified by:
getEditor
in interfaceAeEditPanel
-
select
-
setTaskNode
- Overrides:
setTaskNode
in classcom.ganteater.ae.RecipeRunner
-
isNotifyMe
- Specified by:
isNotifyMe
in interfacecom.ganteater.ae.RecipeListener
- Overrides:
isNotifyMe
in classcom.ganteater.ae.RecipeRunner
-