public SharedFolderEditorController(OLATResourceable res, UserRequest ureq, WindowControl wControl) {
super(wControl);
translator = new PackageTranslator(PACKAGE, ureq.getLocale());
vcEdit = new VelocityContainer("main", VELOCITY_ROOT + "/index.html", translator, this);
previewButton = LinkFactory.createButtonSmall("command.preview", vcEdit, this);
re = RepositoryManager.getInstance().lookupRepositoryEntry(res, true);
sharedFolder = SharedFolderManager.getInstance().getNamedSharedFolder(re);
folderRunController = new FolderRunController(sharedFolder, true, true, ureq, getWindowControl());