Examples of run()


Examples of org.locationtech.udig.project.ui.internal.actions.Delete.run()

                public void run() {
                    final ISelection selection = getDeleteSelection();
                    if (!selection.isEmpty()) {
                        final Delete delete = new Delete(false);
                        delete.selectionChanged(this, selection);
                        delete.run(this);
                    }
                }
            };
           
            deleteAction.setActionDefinitionId("org.eclipse.ui.edit.delete"); //$NON-NLS-1$
View Full Code Here

Examples of org.locationtech.udig.project.ui.internal.actions.OpenProject.run()

                 */
                public void run() {
                    if (PlatformUI.getWorkbench().isClosing())
                        return;

                    delegate.run(this);
                }
            };
            openProjectAction.setText(Messages.ProjectExplorer_openProject_text);
            openProjectAction.setToolTipText(Messages.ProjectExplorer_openProject_tooltip);
        }
View Full Code Here

Examples of org.locationtech.udig.project.ui.internal.wizard.MapImport.run()

                        return true;
                    }
                };
           }
        };
        if (mapImport.run(monitor, object)) {

            ResourceSelectionState state = mapImport.getDialog().getWorkflowWizard().getWorkflow()
                    .getState(ResourceSelectionState.class);

            Set<IGeoResource> keySet = state.getResources().keySet();
View Full Code Here

Examples of org.locationtech.udig.tools.edit.ClearSelection.run()

public class ClearCurrentSelectionActivator implements Activator {

    public void activate( EditToolHandler handler ) {

        ClearSelection clear = new ClearSelection(handler);
        clear.run();

        handler.getContext().sendASyncCommand(
                handler.getContext().getEditFactory().createSetEditFeatureCommand(null,
                        handler.getEditLayer()));
        EditUtils.instance.cancelHideSelection(handler.getEditLayer());
View Full Code Here

Examples of org.locationtech.udig.tools.edit.commands.AddVertexCommand.run()

               
                AddVertexCommand addVertexCommand = new AddVertexCommand(handler, editBlackboard, clickPoint);

                try {
                    addVertexCommand.setMap(handler.getContext().getMap());
                    addVertexCommand.run(new NullProgressMonitor());
                } catch (Exception e1) {
                    throw (RuntimeException) new RuntimeException( ).initCause( e1 );
                }
                commands.add(new UndoRedoCommand(addVertexCommand));
            }
View Full Code Here

Examples of org.locationtech.udig.tools.edit.commands.DefaultCancelEditingCommand.run()

    public UndoableMapCommand getCommand( EditToolHandler handler ) {
        DefaultCancelEditingCommand defaultCancelEditingCommand = new DefaultCancelEditingCommand(handler);
        defaultCancelEditingCommand.setMap(handler.getContext().getMap());
        try {
            defaultCancelEditingCommand.run(new NullProgressMonitor());
        } catch (Exception e) {
            throw (RuntimeException) new RuntimeException( e );
        }
        return new UndoRedoCommand(defaultCancelEditingCommand);
    }
View Full Code Here

Examples of org.maven.ide.eclipse.actions.UpdateSourcesAction.run()

      BasicNewProjectResourceWizard.updatePerspective(_configurationElement);
     
      final Action action = new Action() {};
    IObjectActionDelegate updateAction = new UpdateSourcesAction(Display.getCurrent().getActiveShell());
    updateAction.selectionChanged(action, new StructuredSelection(newProject));
    updateAction.run(action);
     
    return true;
  }

View Full Code Here

Examples of org.milyn.test.ant.AntRunner.run()

        try {
            AntRunner antRunner = new AntRunner("build.xml");
            EJCExecutor ejc = new EJCExecutor();
            File destDir = new File("target/ejc/src");

            antRunner.run("delete");

            if(messages != null && messages.length != 0) {
                ejc.setMessages(CollectionsUtil.toSet(messages));
            }
            ejc.setDestDir(destDir);
View Full Code Here

Examples of org.mindswap.pellet.dig.PelletDIGServer.run()

    output("");
   
    int port = options.getOption( "port" ).getValueAsInteger( 1, 65535 );

    PelletDIGServer server = new PelletDIGServer(port);
    server.run();
  }

}
View Full Code Here

Examples of org.moltools.apps.probemaker.ProbeDesignTask.run()

  
 
  protected void doTest(TSSConstructor tsc, String expect5, String expect3) throws ClusterException {
    ProbeDesigner pd = new DefaultProbeDesigner(new GreedyTagAllocator());
    ProbeDesignTask task = pm.getProbeDesignTask(false, true, false, new GoodAcceptor(), new NoSelector(), pd, tsc, new StreamErrorHandler(System.out,true));
    task.run();
   
    Probe p = proj.getProbes().getSequenceAt(0);
    TSSPair pair = p.getTSSPair();
   
    PropertyAcceptorNucleotideSequence tss5 = (PropertyAcceptorNucleotideSequence) pair.getSequence(TSSPair.KEY_FIVE_PRIME);
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.