public final void initShell(VisualCanvas canvas) {
shellView.quit();
shell.init(canvas.getClassLoader());
GroovyCompiler compiler = new GroovyCompiler();
shell.addImports(compiler.getImports());
shell.addImport("import eu.mihosoft.vrl.user.*;");
shellInput.clear();
shell.addConstant("canvas", canvas);
shell.addConstant("inspector", canvas.getInspector());
shell.addConstant("classloader", canvas.getClassLoader());