コード例 #1
0
ファイル: NodeClickedRef.java プロジェクト: YaqubGhazi/olat
 /** @return the selected node id */
 public String getSelectedNodeId() {
   final String subNodeId = nodeConstructionResult.getSelectedTreeNodeId();
   // if subNodeId != null (e.g. a inner node of a content-packaging -> select this node
   if (subNodeId != null) {
     return subNodeId;
   } else {
     return selectedNodeId;
   }
 }
コード例 #2
0
ファイル: NodeClickedRef.java プロジェクト: YaqubGhazi/olat
 /** @return the run controller or null */
 public Controller getRunController() {
   RepositoryServiceImpl.getInstance()
       .setLastUsageNowFor(calledCourseNode.getReferencedRepositoryEntry());
   return nodeConstructionResult.getRunController();
 }