Package org.olat.core.gui.control.pushpoll

Examples of org.olat.core.gui.control.pushpoll.WindowCommand


        wboImpl.fireCycleEvent(Window.BEFORE_INLINE_RENDERING);
        Command updateDirtyCom = window.handleDirties();
        wboImpl.fireCycleEvent(Window.AFTER_INLINE_RENDERING);
        if (updateDirtyCom != null) {
          synchronized (windowcommands) { //o_clusterOK by:fj
            windowcommands.add(new WindowCommand(wboImpl, updateDirtyCom));
          }
        }
        MediaResource mr = extractMediaResource(false);
        return mr;
      }
View Full Code Here


        if (sum > 0) {
          JSONArray ja = new JSONArray();
          root.put("cmds", ja);
          // treat commands waiting for the poll
          for (int i = 0; i < sum; i++) {
            WindowCommand wc = windowcommands.get(i);
            JSONObject jo = createJSON(wc);
            ja.put(jo);
          }
          windowcommands.clear();
        }
View Full Code Here

  /**
   * @see org.olat.core.gui.control.WindowBackOffice#sendCommandTo(org.olat.core.gui.control.winmgr.Command)
   */
  public void sendCommandTo(Command wco) {
    ajaxC.sendCommandTo(new WindowCommand(this,wco));
  }
View Full Code Here

TOP

Related Classes of org.olat.core.gui.control.pushpoll.WindowCommand

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.