Package org.maven.ide.eclipse.actions

Examples of org.maven.ide.eclipse.actions.UpdateSourcesAction


      IProject newProject = JadexProjectSupport.createProject(name, location, null);
      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


      WorkbenchJob job = new WorkbenchJob(Display.getCurrent(),"lala") {
     
      @Override
      public IStatus runInUIThread(IProgressMonitor monitor) {
        final Action action = new Action() {};
          IObjectActionDelegate updateAction = new UpdateSourcesAction(shell);
          updateAction.selectionChanged(action, new StructuredSelection(newProject));
          updateAction.run(action);
      return Status.OK_STATUS;      }
    };
    job.setSystem(true);
    job.schedule(1000);
    return true;
View Full Code Here

TOP

Related Classes of org.maven.ide.eclipse.actions.UpdateSourcesAction

Copyright © 2018 www.massapicom. 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.