Skip to content

Commit

Permalink
Removed URI strings from example code in trafo debugger UG
Browse files Browse the repository at this point in the history
  • Loading branch information
lunkpeter committed Jun 23, 2016
1 parent 19b8409 commit ef338e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions extra/VIATRA-debugger.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -85,11 +85,11 @@ As currently the debugger does not support inter-JVM communication, the transfor
public class BatchTestHandler extends AbstractHandler {
@Override
public Object execute(ExecutionEvent event) throws ExecutionException {
final Job job = new Job("CPS batch job") {
final Job job = new Job(JOB_NAME) {
protected IStatus run(IProgressMonitor monitor) {
// Load the CPS model
CPSModelInitializer init = new CPSModelInitializer();
CPSToDeployment cps2dep = init.loadModel("platform:/plugin/org.eclipse.viatra.examples.transformationdebugger/output/example.cyberphysicalsystem");
CPSToDeployment cps2dep = init.loadModel(SOURCE_MODEL_URI);
// Initialize CPS to Deployment Transformation
CPSTransformation transformation = new CPSBatchTransformation(cps2dep);
// Execute the transformation and observe the effects of the selected adapter
Expand Down

0 comments on commit ef338e6

Please sign in to comment.