cpDispC = null;
}
}
public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq) {
NodeRunConstructionResult ncr;
if (isExternalMenuConfigured()) {
// integrate it into the olat menu
Controller ctrl = TitledWrapperHelper.getWrapper(ureq, getWindowControl(), this, cpNode, "o_cp_icon");
ncr = new NodeRunConstructionResult(ctrl, treeModel, selNodeId, treeNodeClickListener);
} else { // no menu to integrate
Controller ctrl = TitledWrapperHelper.getWrapper(ureq, getWindowControl(), this, cpNode, "o_cp_icon");
ncr = new NodeRunConstructionResult(ctrl);
}
return ncr;
}