Examples of activate()


Examples of org.objectweb.celtix.transports.ServerTransport.activate()

        ServerTransport server = createServerTransport(factory, wsdlUrl, serviceName,
                                                       portName, address);
        setupCallbackObject(useAutomaticWorkQueue);

        server.activate(callback);

        ClientTransport client = createClientTransport(factory, wsdlUrl, serviceName, portName);
        assertTrue("targetEndpoint address mismatch. Expected : " + address
                   + "  received : " + client.getTargetEndpoint(),
                   address.equals(client.getTargetEndpoint().getAddress().getValue()));
View Full Code Here

Examples of org.olat.core.commons.fullWebApp.LayoutMain3ColsPreviewController.activate()

    myContent.put("contentpackage", iframectr.getInitialComponent());

    if (activate) {
      if (previewMode) {
        LayoutMain3ColsPreviewController ctr = new LayoutMain3ColsPreviewController(ureq, getWindowControl(), (showMenu ? menuTree : null), null, myContent, "scorm" + resourceId);
        ctr.activate();
        columnLayoutCtr = ctr;
      } else {
        LayoutMain3ColsBackController ctr = new LayoutMain3ColsBackController(ureq, getWindowControl(), (showMenu ? menuTree : null), null, myContent, "scorm" + resourceId);
        ctr.activate();
        columnLayoutCtr = ctr;
View Full Code Here

Examples of org.olat.core.commons.modules.bc.FolderRunController.activate()

      Component folderComponent = bcrun.getInitialComponent();
      if (relPath.length()!=0) {
        if (!relPath.endsWith("/")) {
          relPath = relPath + "/";
        }
        bcrun.activate(ureq, relPath);
      }
     
      String personalFolder = Util.createPackageTranslator(HomeMainController.class, ureq.getLocale(), null).translate("menu.bc");
     
      CloseableModalController clc = new CloseableModalController(getWindowControl(), translate("close"), folderComponent, true, personalFolder);
View Full Code Here

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

          return;
        }
        StringBuilder resultsHTML = LocalizedXSLTransformer.getInstance(ureq.getLocale()).renderResults(doc);
        details.contextPut("reshtml", resultsHTML);
        CloseableModalController cmc = new CloseableModalController(getWindowControl(), getTranslator().translate("close"), details);
        cmc.activate();
      }
    }
  }

  /**
 
View Full Code Here

Examples of org.olat.core.gui.control.generic.dtabs.Activateable.activate()

    //PB//getWindowControl().getWindowBackOffice().getWindow().setAttribute("BUSPATH", site_wControl);
    getWindowControl().getWindowBackOffice().getWindow().setAttribute("BUSPATH", getWindowControl());

    if (viewIdentifier != null && (resC instanceof Activateable)) {
      Activateable a = (Activateable) resC;
      a.activate(ureq, viewIdentifier);
    }
  }

  private void doActivateSite(SiteInstance s, GuiStack gs) {
    removeCurrentCustomCSSFromView();
View Full Code Here

Examples of org.olat.core.gui.control.generic.dtabs.DTabs.activate()

                  getWindowControl().setWarning(getTranslator().translate("warn.nolaunch"));
                } else {
                  dt.setController(launchController);
                  dts.addDTab(dt);
                  // null: do not reactivate to a certain view here, this happened in ControllerFactory.createLaunchController
                  dts.activate(ureq, dt, null);
                }
              } else {
                dts.activate(ureq, dt, subidentifier);
              }
            }
View Full Code Here

Examples of org.olat.course.assessment.AssessmentMainController.activate()

  private void launchAssessmentTool(UserRequest ureq, String viewIdentifier) {
    // 1) course admins and users with tool right: full access
    if (hasCourseRight(CourseRights.RIGHT_ASSESSMENT) || isCourseAdmin) {
      AssessmentMainController assessmentToolCtr = new AssessmentMainController(ureq, getWindowControl(), course,
          new FullAccessAssessmentCallback());
      assessmentToolCtr.activate(ureq, viewIdentifier);
      currentToolCtr = assessmentToolCtr;
      listenTo(currentToolCtr);
      all.setContent(currentToolCtr.getInitialComponent());
    }
    // 2) users with coach right: limited access to coached groups
View Full Code Here

Examples of org.olat.course.nodes.bc.BCCourseNodeRunController.activate()

   */
  public NodeRunConstructionResult createNodeRunConstructionResult(UserRequest ureq, WindowControl wControl,
      UserCourseEnvironment userCourseEnv, NodeEvaluation ne, String nodecmd) {
    BCCourseNodeRunController bcCtrl = new BCCourseNodeRunController(ne, userCourseEnv.getCourseEnvironment(), ureq, wControl);
    if (StringHelper.containsNonWhitespace(nodecmd)) {
      bcCtrl.activate(ureq, nodecmd);     
    }
    Controller titledCtrl = TitledWrapperHelper.getWrapper(ureq, wControl, bcCtrl, this, "o_bc_icon");
    return new NodeRunConstructionResult(titledCtrl);
  }

View Full Code Here

Examples of org.olat.modules.webFeed.ui.FeedMainController.activate()

    boolean isGuest = ureq.getUserSession().getRoles().isGuestOnly();
    FeedSecurityCallback callback = new FeedNodeSecurityCallback(ne, isAdmin, isGuest);
    ThreadLocalUserActivityLogger.addLoggingResourceInfo(LoggingResourceable.wrap(this));
    FeedMainController podcastCtr = PodcastUIFactory.getInstance(ureq.getLocale()).createMainController(entry.getOlatResource(), ureq, control,
        callback, courseId, nodeId);
    podcastCtr.activate(ureq, nodecmd);
    Controller wrapperCtrl = TitledWrapperHelper.getWrapper(ureq, control, podcastCtr, this, "o_podcast_icon");
    NodeRunConstructionResult result = new NodeRunConstructionResult(wrapperCtrl);
    return result;
  }
View Full Code Here

Examples of org.omg.PortableServer.POAManager.activate()

                CorbaUtils.exportObjectReferenceToFile(obj, orb, iorFile);
                LOG.info("Object Reference: " + orb.object_to_string(obj));
            }
            // TODO: Provide other export mechanisms?
           
            poaManager.activate();
        } catch (Exception ex) {
            // TODO: Throw appropriate exception
            throw new CorbaBindingException("Unable to activate CORBA servant", ex);
        }
    }   
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.