* java.lang.Object, org.olat.core.gui.UserRequest,
* org.olat.core.gui.control.WindowControl)
*/
public IAddController getAddController(RepositoryAddCallback callback, Object userObject, UserRequest ureq, WindowControl wControl) {
if (userObject == null || userObject.equals(PROCESS_CREATENEW)) {
return new CreateNewCPController(callback, ureq, wControl);
} else {
return super.getAddController(callback, userObject, ureq, wControl);
}
}