Skip to content
Snippets Groups Projects
Select Git revision
  • 439405c1c81b982be84f7c68f61ee05b25d3ff1a
  • master default protected
  • ntd/javaRef
  • ntd/proposalHack
4 results

Model

How to use:

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 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

}