Newer
Older
Import all projects into eclipse, right-click on teetime.configuration.klighd/plugin.xml
and then Run as -> Eclipse Application.
You can now create .configuration models and visualize them by right-clicking on the file and then "Open Configuration Diagram".
example:
de.dsl.evaluation EvalConfiguration(File input, File output, String password){
//imports
import java.io.File
import teetime.stage.ZipByteArray.ZipMode
import teetime.stage.io.File2ByteArray
import teetime.stage.CipherStage.CipherMode
//stages
InitialElementProducer<File> init(input)
File2ByteArray f2b
active CipherStage enc(password, CipherMode.ENCRYPT)
ZipByteArray comp(ZipMode.COMP)
ZipByteArray decomp(ZipMode.DECOMP)
active teetime.stage.CipherStage decrypt(password, CipherMode.DECRYPT)
teetime.stage.io.ByteArrayFileWriter writer(output)
//connections
init.asd->enc.sfd
comp->decrypt->enc
f2b->enc
decomp->writer->enc
f2b->init
}