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

Examples of org.olat.core.gui.control.generic.wizard.Step


         * ...........(previous|finish) available
         * - FinishCallback -> apply course nodes change set
         * .................-> apply general access changes.
         */
       
        Step start  = new PublishStep00(ureq, cetm, course);
       
        /*
         * callback executed in case wizard is finished.
         */
        StepRunnerCallback finish = new StepRunnerCallback(){
View Full Code Here


            return;
          }
          selectedIdentities = tdm.getIdentities(tmse.getSelection());
          final UserBulkChangeManager ubcMan = UserBulkChangeManager.getInstance();
          // valid selection: load in wizard
          Step start = new UserBulkChangeStep00(ureq, selectedIdentities);
          Roles roles = ureq.getUserSession().getRoles();
          isAdministrativeUser = (roles.isAuthor() || roles.isGroupManager() || roles.isUserManager() || roles.isOLATAdmin());

          // callback executed in case wizard is finished.
          StepRunnerCallback finish = new StepRunnerCallback() {
View Full Code Here

    if (source == startLink){
    // use fallback translator for user property translation
    setTranslator(UserManager.getInstance().getPropertyHandlerTranslator(getTranslator()));
    userPropertyHandlers = UserManager.getInstance().getUserPropertyHandlersFor(usageIdentifyer, true);
   
    Step start = new ImportStep00(ureq, canCreateOLATPassword);
    // callback executed in case wizard is finished.
    StepRunnerCallback finish = new StepRunnerCallback() {
      public Step execute(UserRequest ureq1, WindowControl wControl1, StepsRunContext runContext) {
        // all information to do now is within the runContext saved
        boolean hasChanges = false;
View Full Code Here

   */
  @Override
  @SuppressWarnings("unused")
  protected void event(UserRequest ureq, Component source, Event event) {
    if(source == startWizardButton){
      Step startStep = new ZsuzStepUserData(ureq);
     
      StepRunnerCallback finishCallback = new StepRunnerCallback() {
        @SuppressWarnings({"synthetic-access","unused"})
        public Step execute(UserRequest ureq2, WindowControl control, StepsRunContext runContext) {
          MailTemplate mailtemplate = (MailTemplate)runContext.get("mailtemplate");
View Full Code Here

        if (identitiesToDelete != null && identitiesToDelete.size() != 0) {
          hasIdentitiesToDelete = true;
          /*
           * start step which spawns the whole wizard
           */
          Step start = new DeletStep00(ureq, hasIdentitiesToDelete, identitiesToDelete);
          /*
           * wizard finish callback called after "finish" is called
           */
          StepRunnerCallback finishCallback = new StepRunnerCallback() {
            public Step execute(UserRequest ureq, WindowControl control, StepsRunContext runContext) {
View Full Code Here

  protected void event(UserRequest ureq, Component source, Event event) {
    if (source == startLink) {
      /*
       * start step which spawns the whole wizard
       */
      Step start = new StartStepImpl(ureq);
      /*
       * wizard finish callback called after "finish" is called
       */
      StepRunnerCallback finishCallback = new StepRunnerCallback() {
        public Step execute(UserRequest ureq2, WindowControl control, StepsRunContext runContext) {
View Full Code Here

TOP

Related Classes of org.olat.core.gui.control.generic.wizard.Step

Copyright © 2018 www.massapicom. 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.