Package org.olat.core.gui.control.generic.closablewrapper

Examples of org.olat.core.gui.control.generic.closablewrapper.CloseableModalController.activate()


        OlatNamedContainerImpl namedFolder = new OlatNamedContainerImpl(translate("taskfolder"), rootFolder);
        namedFolder.setLocalSecurityCallback(getTaskFolderSecCallback(relPath));
        frc = new FolderRunController(namedFolder, false, ureq, getWindowControl());
        CloseableModalController cmc = new CloseableModalController(getWindowControl(), translate("folder.close"), frc
            .getInitialComponent());
        cmc.activate();
      } else {
        // already assigned task => open dialog with warn
        String[] args = new String[] { new Integer(assignedProps.size()).toString() };       
        dialogBoxController = this.activateOkCancelDialog(ureq, "", getTranslator().translate("taskfolder.overwriting.confirm", args), dialogBoxController);
        List cs = new ArrayList();
View Full Code Here


      }
      VFSSecurityCallback secCallback = new FullAccessWithQuotaCallback(quota);
      namedContainer.setLocalSecurityCallback(secCallback);
      CloseableModalController cmc = new CloseableModalController(getWindowControl(), translate("close"),
        new FolderRunController(namedContainer, false, ureq, getWindowControl()).getInitialComponent());
      cmc.activate();
     
      if (log.isDebug()) log.debug("Switch to sample folder dialog : DONE");
      return;
    } else if (source == editScoringConfigButton){
      scoringController.setDisplayOnly(false);
View Full Code Here

        OlatNamedContainerImpl namedFolder = new OlatNamedContainerImpl(translate("taskfolder"), rootFolder);
        namedFolder.setLocalSecurityCallback(getTaskFolderSecCallback(relPath));
        frc = new FolderRunController(namedFolder, false, urequest, getWindowControl());
        CloseableModalController cmc = new CloseableModalController(getWindowControl(), translate("folder.close"), frc
            .getInitialComponent());
        cmc.activate();
        fireEvent(urequest, Event.CHANGED_EVENT);
      }
    } else if (source == taskController) {
      if (event == Event.CANCELLED_EVENT) {
        return;
View Full Code Here

          participantsVC.put("dateTitle", dateTitle);
          participantsVC.put("dateTimeframe", dateTimeframe);
          participantsVC.put("participantsTable", tableManageParticipants.getInitialComponent());
          participantsVC.put("addParticipants", formManageParticipants.getInitialComponent());
          CloseableModalController manageParticipantsModalCntrl = new CloseableModalController(getWindowControl(), "close", participantsVC, true, translate("dates.table.participant.manage"));
          manageParticipantsModalCntrl.activate();
        }
      } else {
        TableMultiSelectEvent tmse = (TableMultiSelectEvent)event;
        BitSet selection = tmse.getSelection();
        //delete all users from the selected dates
View Full Code Here

      // to test ajax mode, switch visible/invisble
      pFirstInvisible.setVisible(!pFirstInvisible.isVisible());
    } else if (source == buttonSmall){
      //showInfo("info.button.small", ureq.getIdentity().getName());
      CloseableModalController cmc = new CloseableModalController(getWindowControl(), "close me", link);
      cmc.activate();
    } else if (source == button){
      showInfo("info.button.default", ureq.getIdentity().getName());     
    } else if (source == link){
      showInfo("info.button.link", ureq.getIdentity().getName());     
    } else if (source == linkBack){
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.