@Override
 protected void event(UserRequest ureq, Component source, Event event) {
   if (source == segmentView) {
     if (event instanceof SegmentViewEvent) {
       SegmentViewEvent sve = (SegmentViewEvent) event;
       String segmentCName = sve.getComponentName();
       Component clickedLink = mainVC.getComponent(segmentCName);
       if (clickedLink == memoryLink) {
         doOpenMemory(ureq);
       } else if (clickedLink == threadsLink) {
         doOpenThreads(ureq);
       } else if (clickedLink == envPropsLink) {
         doOpenEnvProps(ureq);
       }
     }
   }
 }
 @Override
 protected void event(UserRequest ureq, Component source, Event event) {
   if (source == segmentView) {
     if (event instanceof SegmentViewEvent) {
       SegmentViewEvent sve = (SegmentViewEvent) event;
       String segmentCName = sve.getComponentName();
       Component clickedLink = mainVC.getComponent(segmentCName);
       if (clickedLink == favoriteLink) {
         doOpenMark(ureq);
       } else if (clickedLink == myEntriesLink) {
         doOpenMyEntries(ureq);
       } else if (clickedLink == searchLink) {
         doSearchEntries(ureq);
       }
     }
   }
 }