Examples of runCommand()


Examples of ij.plugin.frame.RoiManager.runCommand()

      IJ.error("ROI Manager not found");
    RoiManager rm = (RoiManager)frame;
    boolean altDown= IJ.altKeyDown();
    IJ.setKeyUp(IJ.ALL_KEYS);
    if (altDown) IJ.setKeyDown(KeyEvent.VK_SHIFT);
    rm.runCommand("add");
    IJ.setKeyUp(IJ.ALL_KEYS);
  }

}
View Full Code Here

Examples of org.apache.ant.dotnet.NetCommand.runCommand()

            rebuild |= isRebuildNeeded(schema, destLastModified);
            command.addArgument(schema.evaluate());
        }
        //conditionally compile
        if (rebuild) {
            command.runCommand();
        }
    }

    /**
     * checks for a schema being out of data
View Full Code Here

Examples of org.apache.drill.exec.rpc.bit.BitConnectionManager.runCommand()

    DrillbitEndpoint ep = DrillbitEndpoint.newBuilder().setAddress("localhost").setBitPort(port).build();
    registry.setEndpoint(ep);
    for(int i =0; i < 10; i++){
      try(BitConnectionManager cm = new BitConnectionManager(ep, ep, handler, c, listeners)){
        SendFragmentStatus cmd = new SendFragmentStatus(FragmentStatus.getDefaultInstance());
        cm.runCommand(cmd);
        cmd.getFuture().checkedGet();
      }
    }
    System.out.println("connected");
  }
View Full Code Here

Examples of org.aspectj.bridge.ICommand.runCommand()

            return;
        }     
        try {
            outer:
            while (true) {
                boolean passed = command.runCommand(args, holder);
                if (report(passed, holder) && controller.incremental()) {
                    while (controller.doRepeatCommand(command)) {
                        holder.clearMessages();
                        if (controller.buildFresh()) {
                            continue outer;
View Full Code Here

Examples of org.exist.xmldb.CollectionManagementServiceImpl.runCommand()

            } else if (args[0].equalsIgnoreCase("quit")) {
                return false;
                //XXX:make it pluggable
            } else if (havePluggableCommands) {
                final CollectionManagementServiceImpl mgtService = (CollectionManagementServiceImpl) current.getService("CollectionManagementService", "1.0");
                mgtService.runCommand(args);
                //****************************************************************
            } else {
                messageln("unknown command");
                return true;
            }
View Full Code Here

Examples of org.exist.xmldb.UserManagementService.runCommand()

            } else if (args[0].equalsIgnoreCase("quit")) {
                return false;
                //XXX:make it pluggable
            } else if (havePluggableCommands) {
                final CollectionManagementServiceImpl mgtService = (CollectionManagementServiceImpl) current.getService("CollectionManagementService", "1.0");
                mgtService.runCommand(args);
                //****************************************************************
            } else {
                messageln("unknown command");
                return true;
            }
View Full Code Here

Examples of org.gradle.launcher.daemon.server.api.DaemonStateControl.runCommand()

                    execution.getConnection().buildStarted(new BuildStarted(diagnostics));
                    execution.proceed();
                }
            };

            stateCoordinator.runCommand(command, execution.toString());
        } catch (DaemonUnavailableException e) {
            LOGGER.info("Daemon will not handle the command {} because is unavailable: {}", build, e.getMessage());
            execution.getConnection().daemonUnavailable(new DaemonUnavailable(e.getMessage()));
        } catch (DaemonStoppedException e) {
            execution.getConnection().completed(new CommandFailure(e));
View Full Code Here

Examples of org.jnode.shell.CommandShell.runCommand()

        CommandShell shell = null;
        int ret = 1;
        try {
            shell = (CommandShell) ShellUtils.getShellManager().getCurrentShell();
            long start = System.currentTimeMillis();
            ret = shell.runCommand(sb.toString());
            long end = System.currentTimeMillis();
            out.format(fmt_diff, getRuntime((int) (end - start)));
        } catch (ShellException ex) {
            throw ex;
        } finally {
View Full Code Here

Examples of org.jnode.shell.CommandShell.runCommand()

        public void invoke(String command) {
            if (shell != null) {
                if (shell instanceof CommandShell) {
                    CommandShell cs = (CommandShell) shell;
                    try {
                        cs.runCommand(command);
                    } catch (ShellException ex) {
                        System.err.println("Command invocation failed: " + ex.getMessage());
                    }
                } else {
                    System.err.println("Shell wasn't a CommandShell: " + shell.getClass());
View Full Code Here

Examples of org.jnode.shell.CommandShell.runCommand()

        for (String arg : spec.getArgs()) {
            sb.append(" ").append(shell.escapeWord(arg));
        }
        int rc;
        try {
            rc = shell.runCommand(sb.toString());
        } catch (Throwable ex) {
            Class<? extends Throwable> exception = spec.getException();
            if (exception != null && exception.isInstance(ex)) {
                rc = 0;
            } else if (ex instanceof Error) {
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.