algo
Class GroovyConnector

java.lang.Object
  extended by holoedit.functions.Algorithm
      extended by algo.GroovyConnector
All Implemented Interfaces:
java.awt.event.ActionListener, java.lang.Runnable, java.util.EventListener

public class GroovyConnector
extends Algorithm


Field Summary
private  groovy.lang.Binding binding
           
private  GestionPistes gp
           
 
Fields inherited from class holoedit.functions.Algorithm
CAT_DATA, CAT_GEN, CAT_GEN_SPEAKERS, CAT_MAC, CAT_OWN, CAT_SCRIPT, CAT_TRANS_SPAT, CAT_TRANS_TIME, CAT_WIP, dateBegin, dateEnd, replace, results, TO_ALL, TO_ONE, TO_VISIBLE, TYPE_DATA, TYPE_GEN, TYPE_SPEAKERS, TYPE_TRANS_ABTOC, TYPE_TRANS_ATOB
 
Constructor Summary
GroovyConnector(GestionPistes gp)
           
 
Method Summary
 void createGroovyFile(java.io.File file, java.lang.String textAreaText)
          Create the.groovy file by mixing the content of the textArea, and TestGroovy.groovy file.
 void setReplace(boolean rep)
           
 void showWarning(java.lang.String message)
           
 boolean startGroovyScript(java.io.File file, int[] results)
           
protected  void treatOneTrack(int tkNth)
           
protected  void treatOneTrack(int tkNthFrom, int tkNthTo)
           
protected  void treatOneTrack(int tkNthFromA, int tkNthFromB, int tkNthTo)
           
 
Methods inherited from class holoedit.functions.Algorithm
actionPerformed, addField, addPreset, calcAngle, calcDistance, cancel, finalizeTraj, getCategory, getDescription, getFields, getFieldsName, getFieldsSize, getMaxs, getMenu, getMins, getMods, getName, getNOL, getOptions, getPresets, getTitle, getType, getTypes, getVals, inc, inc, initFinal, polX, polX2, polY, polY2, readPst, run, setCategory, setCurrent, setDescription, setFields, setName, setPresets, setTitle, setType, setVals, start, stop, treatSpeakers, writePst
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

binding

private groovy.lang.Binding binding

gp

private GestionPistes gp
Constructor Detail

GroovyConnector

public GroovyConnector(GestionPistes gp)
Method Detail

createGroovyFile

public void createGroovyFile(java.io.File file,
                             java.lang.String textAreaText)
Create the.groovy file by mixing the content of the textArea, and TestGroovy.groovy file.


startGroovyScript

public boolean startGroovyScript(java.io.File file,
                                 int[] results)

showWarning

public void showWarning(java.lang.String message)

setReplace

public void setReplace(boolean rep)

treatOneTrack

protected void treatOneTrack(int tkNth)
Specified by:
treatOneTrack in class Algorithm

treatOneTrack

protected void treatOneTrack(int tkNthFrom,
                             int tkNthTo)
Specified by:
treatOneTrack in class Algorithm

treatOneTrack

protected void treatOneTrack(int tkNthFromA,
                             int tkNthFromB,
                             int tkNthTo)
Specified by:
treatOneTrack in class Algorithm