Examples of execute()


Examples of org.open2jam.gui.ChartModelLoader.execute()

        table_songlist.setEnabled(false);
        load_progress.setValue(0);
        load_progress.setVisible(true);
        ChartModelLoader task = new ChartModelLoader(model_songlist, f);
        task.addPropertyChangeListener(this);
        task.execute();
    }
   
    @Override
    public void propertyChange(PropertyChangeEvent evt) {
        if("progress".equals(evt.getPropertyName()))
View Full Code Here

Examples of org.openbp.server.handler.Handler.execute()

          currentSocket.getNode().getQualifier().toString(), handlerInstance.getClass().getName(), eventType, context);

        // Execute the Java implementation of this handler
        try
        {
          handlerInstance.execute(hc);
        }
        catch (OpenBPException ee)
        {
          // Engine exceptions can be rethrown.
          throw ee;
View Full Code Here

Examples of org.openbravo.erpCommon.modules.ImportModule.execute()

    xmlDocument.setParameter("directory", "var baseDirectory = \"" + strReplaceWith + "/\";\n");
    xmlDocument.setParameter("language", "defaultLang=\"" + vars.getLanguage() + "\";");
    xmlDocument.setParameter("theme", vars.getTheme());
    OBError message;
    if (im.getIsLocal())
      im.execute(((FileItem) vars.getSessionObject("ModuleManagementInstall|File"))
          .getInputStream());
    else
      im.execute();
    message = im.getOBError(this);
View Full Code Here

Examples of org.openbravo.erpCommon.modules.UninstallModule.execute()

    } else if (vars.commandIn("UNINSTALL")) {
      final String modules = vars.getInStringParameter("inpNodes", IsIDFilter.instance);
      final UninstallModule um = new UninstallModule(this, vars.getSessionValue("#sourcePath"),
          vars);
      um.execute(modules);
      final OBError msg = um.getOBError();
      vars.setMessage("ModuleManagement|message", msg);
      response.sendRedirect(strDireccion + request.getServletPath() + "?Command=DEFAULT");
      log4j.info(modules);
    } else if (vars.commandIn("SCAN")) {
View Full Code Here

Examples of org.openfaces.component.table.DataTablePaginatorAction.execute()

        } else {
            Log.log(context, "Unknown DataTablePaginator action came from client: " + actionStr);
            return;
        }

        action.execute(table);
    }

    @Override
    public void encodeEnd(FacesContext context, UIComponent component) throws IOException {
        super.encodeEnd(context, component);
View Full Code Here

Examples of org.openhab.binding.digitalstrom.internal.client.job.SensorJob.execute()

          job = getMediumPriorityJob();
          if (job == null)
            job = getLowPriorityJob();
        }
        if (job != null) {
          job.execute(digitalSTROM, getSessionToken());
        }

        try {
          sleep(this.sleepTime);
        } catch (InterruptedException e) {
View Full Code Here

Examples of org.openhab.binding.dmx.internal.cmd.DmxCommand.execute()

    }

    // process custom commands if they are available
    if (isRedefinedByCustomCommand(command)) {
      DmxCommand dmxCommand = customCommands.get(command.toString());
      dmxCommand.execute(service);
      return;
    }

  }
View Full Code Here

Examples of org.openhab.binding.netatmo.internal.messages.RefreshTokenRequest.execute()

            final RefreshTokenRequest request =
                new RefreshTokenRequest(this.clientId, this.clientSecret, this.refreshToken);
            logger.debug("Request: {}", request);

            final RefreshTokenResponse response = request.execute();
            logger.debug("Response: {}", response);

            this.accessToken = response.getAccessToken();

            deviceListRequest = new DeviceListRequest(this.accessToken);
View Full Code Here

Examples of org.openhab.binding.xbmc.rpc.calls.ApplicationGetProperties.execute()

  }

  public void requestApplicationUpdate() {
    final ApplicationGetProperties app = new ApplicationGetProperties(client, httpUri);
   
    app.execute(new Runnable() {
      public void run() {
        // now update each of the openHAB items for each property
        volume = new BigDecimal(app.getVolume());
        updateProperty("Application.Volume", new PercentType(volume));               
      }
View Full Code Here

Examples of org.openhab.binding.xbmc.rpc.calls.ApplicationSetVolume.execute()

        this.volume = BigDecimal.ZERO;
      }
    }
       
    applicationsetvolume.setVolume(this.volume.intValue());
    applicationsetvolume.execute();
  }

  private void processPlayerStateChanged(String method, Map<String, Object> json) {
    if ("Player.OnPlay".equals(method)) {
      // get the player id and make a new request for the media details
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.