Examples of run()


Examples of org.codehaus.activemq.util.ExceptionTemplate.run()

        super.start();
    }

    public void stop() {
        ExceptionTemplate template = new ExceptionTemplate();
        template.run(new Callback() {
            public void execute() throws Throwable {
                discoveryAgent.stop();
            }
        });
        template.run(new Callback() {
View Full Code Here

Examples of org.codehaus.groovy.plugin.GroovyRunner.run()

                return runJUnit4Test(scriptClass);
            }
            for (Map.Entry<String, GroovyRunner> entry : GroovySystem.RUNNER_REGISTRY.entrySet()) {
                GroovyRunner runner = entry.getValue();
                if (runner != null && runner.canRun(scriptClass, this.loader)) {
                    return runner.run(scriptClass, this.loader);
                }
            }
            String message = "This script or class could not be run.\n" +
                    "It should either:\n" +
                    "- have a main method,\n" +
View Full Code Here

Examples of org.codehaus.groovy.tools.shell.Groovysh.run()

            out = new PrintStream(socket.getOutputStream());
            binding.setVariable("out", out);

            final IO io = new IO(in, out, out);
            final Groovysh gsh = new Groovysh(binding, io);
            gsh.run();
        } catch (Exception e) {
            log.error("Error running the Groovy shell.", e);
        } finally {
            try { if (out != null) out.close(); } catch (Exception e) {}
            try { if (in != null) in.close(); } catch (Exception e) {}
View Full Code Here

Examples of org.codehaus.groovy.tools.shell.InteractiveShellRunner.run()

        Gremlin.load();
        FaunusGremlin.load();

        try {
            runner.run();
        } catch (Error e) {
            //System.err.println(e.getMessage());
        }
    }
View Full Code Here

Examples of org.criticalfailure.torchlight.core.application.ui.wizards.IDataCreationWizard.run()

                            logger.debug("tell wizard to setup");
                            wizard.setup();

                            logger.debug("tell wizard to run");
                            wizard.run();

                            if(wizard.isCanceled())
                            {
                                logger.debug("wizard canceled");
                                return null;
View Full Code Here

Examples of org.criticalfailure.torchlight.core.model.ui.ICampaignUI.run()

                            logger.debug("setting up");
                            ui.setup(PlatformUI.getWorkbench().getActiveWorkbenchWindow());

                            logger.debug("running UI helper");
                            campaign = ui.run();
                        }
                        else {
                            logger.debug("running helper to create campaign");

                            ICampaignHelper helper = (ICampaignHelper)ServiceUtils.getService(bundleContext, ICampaignHelper.class.getName());
View Full Code Here

Examples of org.criticalfailure.torchlight.core.model.ui.ILibraryUI.run()

                        logger.debug("setting up");
                        ui.setup(PlatformUI.getWorkbench().getActiveWorkbenchWindow());

                        logger.debug("running UI helper");
                        library = ui.run();
                    }
                    else {
                        logger.debug("running helper to create library");

                        ILibraryHelper helper = (ILibraryHelper)ServiceUtils.getService(bundleContext, ILibraryHelper.class.getName());
View Full Code Here

Examples of org.criticalfailure.torchlight.core.model.ui.IObjectCategoryUI.run()

            logger.trace("helper: " + ui);

            logger.debug("setting up");
            ui.setup(PlatformUI.getWorkbench().getActiveWorkbenchWindow());

            ObjectCategory oc = ui.run();
            logger.trace("oc: " + oc);

            if(oc != null) {
                logger.debug("adding section to campaign");
                campaign.addSection(oc);
View Full Code Here

Examples of org.criticalfailure.torchlight.core.model.ui.IParticipantUI.run()

                        logger.debug("setting up");
                        ui.setup(PlatformUI.getWorkbench().getActiveWorkbenchWindow());

                        logger.debug("running UI helper");
                        participant = ui.run();
                    }
                    else {
                        logger.debug("running helper to create participant");

                        IParticipantHelper helper = (IParticipantHelper)ServiceUtils.getService(bundleContext, IParticipantHelper.class.getName());
View Full Code Here

Examples of org.criticalfailure.torchlight.core.model.ui.ISettingUI.run()

                        logger.debug("setting up");
                        ui.setup(PlatformUI.getWorkbench().getActiveWorkbenchWindow());

                        logger.debug("running UI helper");
                        setting = ui.run();
                    }
                    else {
                        logger.debug("running helper to create setting");

                        ISettingHelper helper = (ISettingHelper)ServiceUtils.getService(bundleContext, ISettingHelper.class.getName());
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.