display = new Display();\r
shell = new Shell(display);\r
shell.setLayout(new FillLayout());\r
- ui = new LogicUICanvas(shell, SWT.NONE);\r
+ ui = new LogicUICanvas(shell, SWT.NONE, model);\r
\r
ZoomableCanvasUserInput userInput = new ZoomableCanvasUserInput(ui);\r
userInput.buttonDrag = 3;\r
// while (running.get())\r
// {\r
// // always execute to keep timeline from "hanging behind" for too long\r
+// timeline.executeUntil(timeline.laterThan(System.currentTimeMillis()), System.currentTimeMillis() + 10); \r
// model.timeline.executeUpTo(System.currentTimeMillis(), System.currentTimeMillis() + 10);\r
// long sleepTime;\r
// if (model.timeline.hasNext())\r