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

public class TaskEditor extends WorkPlace implements AEPanel, AeEditPanel
Version:
1.0, 29-Jul-2005
Author:
victort
  • Field Details

  • Constructor Details

  • Method Details

    • setSplitPanel

      public void setSplitPanel()
    • reload

      public void reload()
      Specified by:
      reload in interface AeEditPanel
    • save

      public void save() throws IOException
      Specified by:
      save in interface AeEditPanel
      Throws:
      IOException
    • format

      public void format()
      Specified by:
      format in interface AeEditPanel
    • setProgress

      public void setProgress(String message, long aMaxTags, long aCurrTags, boolean aErrorState)
      Specified by:
      setProgress in interface com.ganteater.ae.RecipeListener
      Overrides:
      setProgress in class com.ganteater.ae.RecipeRunner
    • stopTask

      public void stopTask()
    • compileTask

      public void compileTask()
    • showPanel

      public void showPanel(JTabbedPane panel, String name)
      Specified by:
      showPanel in interface AEPanel
    • getMainPanel

      public JPanel getMainPanel()
      Specified by:
      getMainPanel in interface AEPanel
    • endTask

      public void endTask(boolean aErrorState)
      Specified by:
      endTask in interface com.ganteater.ae.RecipeListener
      Overrides:
      endTask in class WorkPlace
    • refreshTaskTree

      protected void refreshTaskTree()
    • changeVariable

      public void changeVariable(String aAttribut, Object aValue)
      Specified by:
      changeVariable in interface com.ganteater.ae.RecipeListener
      Overrides:
      changeVariable in class com.ganteater.ae.RecipeRunner
    • startCommand

      public void startCommand(int aNumberCommand)
      Specified by:
      startCommand in interface com.ganteater.ae.RecipeListener
      Overrides:
      startCommand in class com.ganteater.ae.RecipeRunner
    • aboutTest

      public void aboutTest(String theTaskName, com.ganteater.ae.util.xml.easyparser.Node aCurrentAction)
      Specified by:
      aboutTest in interface com.ganteater.ae.RecipeListener
      Overrides:
      aboutTest in class WorkPlace
    • runCommandFrame

      public void runCommandFrame(Properties params)
      Specified by:
      runCommandFrame in interface com.ganteater.ae.RecipeListener
      Overrides:
      runCommandFrame in class com.ganteater.ae.RecipeRunner
    • outToFrame

      public void outToFrame(com.ganteater.ae.processor.Processor processor, Properties properties, Object value)
      Specified by:
      outToFrame in interface com.ganteater.ae.RecipeListener
      Overrides:
      outToFrame in class com.ganteater.ae.RecipeRunner
    • removeActivePresentationPanel

    • createLog

      public com.ganteater.ae.ILogger createLog(String aLogName, boolean mainLog)
      Specified by:
      createLog in interface com.ganteater.ae.RecipeListener
      Overrides:
      createLog in class com.ganteater.ae.RecipeRunner
    • setLog

      public void setLog(com.ganteater.ae.ILogger log)
      Overrides:
      setLog in class com.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 interface com.ganteater.ae.RecipeListener
      Overrides:
      errorInformation in class com.ganteater.ae.RecipeRunner
      Throws:
      com.ganteater.ae.CommandException
    • outputPaneAdd

      public void outputPaneAdd(LogPresenter logPanel)
    • setActiveTest

      public void setActiveTest(String theActiveTest)
      Overrides:
      setActiveTest in class WorkPlace
    • runTaskNode

      public void runTaskNode()
    • start

      public void start(String name)
    • setRunButtonAction

      public void setRunButtonAction(boolean runAction)
    • edit

      public void edit(String name)
    • create

      public void create(String name)
    • getPanelName

      public String getPanelName()
      Specified by:
      getPanelName in interface AEPanel
    • saveTask

      public void saveTask() throws IOException
      Throws:
      IOException
    • runTask

      public void runTask()
      Specified by:
      runTask in interface AeEditPanel
    • criticalError

      public void criticalError(com.ganteater.ae.CommandException exception, com.ganteater.ae.processor.Processor processor)
      Specified by:
      criticalError in interface com.ganteater.ae.RecipeListener
      Overrides:
      criticalError in class WorkPlace
    • checkFailure

      public void checkFailure(com.ganteater.ae.CommandException exception, com.ganteater.ae.processor.Processor processor)
      Specified by:
      checkFailure in interface com.ganteater.ae.RecipeListener
      Overrides:
      checkFailure in class WorkPlace
    • closeTab

      public void closeTab()
    • showAbout

      public void showAbout()
    • showTaskTreePane

      public void showTaskTreePane()
    • getCaretPosition

      public int getCaretPosition()
      Specified by:
      getCaretPosition in interface AeEditPanel
    • getMagicCaretPosition

      Specified by:
      getMagicCaretPosition in interface AeEditPanel
    • getText

      public String getText()
      Specified by:
      getText in interface AeEditPanel
    • replaceRange

      public void replaceRange(String text, int i, int caretPosition2)
      Specified by:
      replaceRange in interface AeEditPanel
    • contextHelp

      Specified by:
      contextHelp in interface AeEditPanel
    • runTest

      public void runTest(com.ganteater.ae.util.xml.easyparser.Node[] testNode)
      Overrides:
      runTest in class com.ganteater.ae.RecipeRunner
    • getFrame

      public AEFrame getFrame()
    • pause

      public void pause()
      Specified by:
      pause in interface com.ganteater.ae.RecipeListener
      Overrides:
      pause in class com.ganteater.ae.RecipeRunner
    • resume

      public void resume()
      Specified by:
      resume in interface com.ganteater.ae.RecipeListener
      Overrides:
      resume in class com.ganteater.ae.RecipeRunner
    • isRunning

      public boolean isRunning()
    • getEditor

      Specified by:
      getEditor in interface AeEditPanel
    • select

      public void select()
    • setTaskNode

      public void setTaskNode(com.ganteater.ae.util.xml.easyparser.Node taskNode)
      Overrides:
      setTaskNode in class com.ganteater.ae.RecipeRunner
    • isNotifyMe

      public boolean isNotifyMe()
      Specified by:
      isNotifyMe in interface com.ganteater.ae.RecipeListener
      Overrides:
      isNotifyMe in class com.ganteater.ae.RecipeRunner