} else {
// no ide configured... todo info msg
}
} else if (com.equals("vc")) {
// ------- open velocity container for editing -------
VelocityContainer vc = (VelocityContainer) infoComponent;
String velocityTemplatePath = WebappHelper.getSourcePath()+"/"+vc.getPage();
VFSLeaf vcContentFile = new LocalFileImpl(new File(velocityTemplatePath));
boolean readOnly = Settings.isReadOnlyDebug();
vcEditorController = new PlainTextEditorController(ureq, getWindowControl(), vcContentFile, "utf-8", true, true, null);
vcEditorController.setReadOnly(readOnly);
vcEditorController.addControllerListener(this);
VelocityContainer vcWrap = createVelocityContainer("vcWrapper");
if (readOnly) vcWrap.contextPut("readOnly", Boolean.TRUE);
vcWrap.put("editor", vcEditorController.getInitialComponent());
getWindowControl().pushAsModalDialog(DebugHelper.createDebugProtectedWrapper(vcWrap));
}
}
}