addController = typeToAdd.getAddController(addCallback, null, ureq, getWindowControl());
translatedTypeName = translator.translate("add.webdoc");
typeIntro = translator.translate("add.webdoc.intro");
}
else if (actionAddCommand.equals(ACTION_ADD_TEST)) {
typeToAdd = new QTITestHandler();
addController = typeToAdd.getAddController(addCallback, QTIHandler.PROCESS_UPLOAD, ureq, getWindowControl());
translatedTypeName = translator.translate("add.test");
typeIntro = translator.translate("add.test.intro");
}
else if (actionAddCommand.equals(ACTION_ADD_SURVEY)) {
typeToAdd = new QTISurveyHandler();
addController = typeToAdd.getAddController(addCallback, QTIHandler.PROCESS_UPLOAD, ureq, getWindowControl());
translatedTypeName = translator.translate("add.survey");
typeIntro = translator.translate("add.survey.intro");
}
else if (actionAddCommand.equals(ACTION_ADD_CP)) {
typeToAdd = new ImsCPHandler();
addController = typeToAdd.getAddController(addCallback, ImsCPHandler.PROCESS_IMPORT, ureq, getWindowControl());
translatedTypeName = translator.translate("add.cp");
typeIntro = translator.translate("add.cp.intro");
}
else if (actionAddCommand.equals(ACTION_ADD_SCORM)) {
typeToAdd = new SCORMCPHandler();
addController = typeToAdd.getAddController(addCallback, null, ureq, getWindowControl());
translatedTypeName = translator.translate("add.scorm");
typeIntro = translator.translate("add.scorm.intro");
}
else if (actionAddCommand.equals(ACTION_ADD_WIKI)) {
typeToAdd = new WikiHandler();
addController = typeToAdd.getAddController(addCallback, null, ureq, getWindowControl());
translatedTypeName = translator.translate("add.wiki");
typeIntro = translator.translate("add.wiki.intro");
}
else if (actionAddCommand.equals(ACTION_ADD_PODCAST)) {
typeToAdd = new PodcastHandler();
addController = typeToAdd.getAddController(addCallback, null, ureq, getWindowControl());
translatedTypeName = translator.translate("add.podcast");
typeIntro = translator.translate("add.podcast.intro");
}
else if (actionAddCommand.equals(ACTION_ADD_BLOG)) {
typeToAdd = new BlogHandler();
addController = typeToAdd.getAddController(addCallback, null, ureq, getWindowControl());
translatedTypeName = translator.translate("add.blog");
typeIntro = translator.translate("add.blog.intro");
}
else if (actionAddCommand.equals(ACTION_ADD_GLOSSARY)) {
typeToAdd = new GlossaryHandler();
addController = typeToAdd.getAddController(addCallback, null, ureq, getWindowControl());
translatedTypeName = translator.translate("add.glossary");
typeIntro = translator.translate("add.glossary.intro");
}
else if (actionAddCommand.equals(ACTION_NEW_COURSE)) {
typeToAdd = new CourseHandler();
addController = typeToAdd.getAddController(addCallback, CourseHandler.PROCESS_CREATENEW, ureq, getWindowControl());
translatedTypeName = translator.translate("new.course");
typeIntro = translator.translate("new.course.intro");
}
else if (actionAddCommand.equals(ACTION_NEW_TEST)) {
typeToAdd = new QTITestHandler();
addController = typeToAdd.getAddController(addCallback, QTIHandler.PROCESS_CREATENEW, ureq, getWindowControl());
translatedTypeName = translator.translate("new.test");
typeIntro = translator.translate("new.test.intro");
}
else if (actionAddCommand.equals(ACTION_NEW_SURVEY)) {