Examples of execute()


Examples of uk.gov.nationalarchives.droid.gui.action.StopRunningProfilesAction.execute()

        for (ExitListener exitListener : exitListeners) {
            exitListener.onExit();
        }

        StopRunningProfilesAction stopRunningAction = new StopRunningProfilesAction(profileManager, droidContext, this);
        if (stopRunningAction.execute()) {
            ProfileSelectionDialog dialog = new SaveAllProfilesDialog(this, droidContext.allDirtyProfiles());
            final ExitAction action = new ExitAction(droidContext, dialog, profileManager);
            action.addPropertyChangeListener(new PropertyChangeListener() {
                @Override
                public void propertyChange(PropertyChangeEvent evt) {
View Full Code Here

Examples of uk.gov.nationalarchives.droid.gui.config.InstallSignatureFileAction.execute()

        signatureInstallDialog.setVisible(true);
        if (signatureInstallDialog.getResponse() == SignatureInstallDialog.OK) {
            InstallSignatureFileAction action = globalContext.getActionFactory().newInstallSignatureFileAction();
            action.setFileName(signatureInstallDialog.getSignatureFilename());
            action.setUseAsDefault(signatureInstallDialog.isDefault());
            action.execute(this);
        }

    }// GEN-LAST:event_signatureInstallMenuItemActionPerformed

    private void jMenuEditFilterActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_jMenuFilterActionPerformed
View Full Code Here

Examples of uk.gov.nationalarchives.droid.gui.export.ExportAction.execute()

                            log.info("Export cancelled");
                        }
                    }
                });

                exportAction.execute();
                exportDialog.setVisible(true);
            }
        }
    }
View Full Code Here

Examples of uk.gov.nationalarchives.droid.gui.report.ReportAction.execute()

            reportViewDialog.setReportTransformer(transformer);           
           
           
            action.setProgressDialog(reportProgressDialog);
            action.setViewDialog(reportViewDialog);
            action.execute();
            reportProgressDialog.showDialog();
        }
    }

    private void jFilterOnCheckBoxActionPerformed(java.awt.event.ActionEvent evt) {// GEN-FIRST:event_jFilterOnCheckBoxActionPerformed
View Full Code Here

Examples of uk.org.ogsadai.client.toolkit.DataRequestExecutionResource.execute()

        // Excecute the workflow
        RequestResource req = null;
        try
        {
            req = drer.execute(pipeline, RequestExecutionType.SYNCHRONOUS);
        }
        catch (RequestExecutionException e)
        {
            System.out.println("There was an error executing the workflow");
            System.out.println(e.getRequestResource().getRequestStatus());
View Full Code Here

Examples of util.SQLHelper.execute()

      }

      if (access) {
        /* Grant privileges to current session. */
        Object[] access_params = { session_id, new Long(mote_id) };
        sql.execute(ACCESS_QUERY, access_params);
      }
      return access;

    } finally {
      sql.closeDB();
View Full Code Here

Examples of util.io.ExecutionHandler.execute()

  public void sendToKNotify(final String titleFormat, final String descriptionFormat, final Program program) {
    try {
      final ExecutionHandler executionHandler = new ExecutionHandler("dcop",
          "which");
      executionHandler.execute(true);

      String dcopLocation = executionHandler.getOutput();

      if (dcopLocation != null) {
        dcopLocation = dcopLocation.trim();
View Full Code Here

Examples of voldemort.store.routed.Pipeline.execute()

                                                                                                                         aKey,
                                                                                                                         null);
        Pipeline pipeline = new Pipeline(Operation.GET, 10000, TimeUnit.MILLISECONDS);
        pipeline.addEventAction(Event.STARTED, action);
        pipeline.addEvent(Event.STARTED);
        pipeline.execute();

        if(pipelineData.getFatalError() != null)
            throw pipelineData.getFatalError();

        assertEquals(cluster.getNodes().size(), pipelineData.getNodes().size());
View Full Code Here

Examples of voldemort.store.routed.action.Action.execute()

                if(logger.isTraceEnabled())
                    logger.trace(operation.getSimpleName() + " request, action "
                                 + action.getClass().getSimpleName() + " to handle " + event
                                 + " event");

                action.execute(this);
            }
        } finally {
            finished = true;
        }
    }
View Full Code Here

Examples of voldemort.utils.RemoteOperation.execute()

        RemoteOperation operation = new SshClusterStopper(hostNames,
                                                          sshPrivateKey,
                                                          hostUserId,
                                                          voldemortRootDirectory,
                                                          false);
        operation.execute();
    }

}
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.