Package org.cloudfoundry.ide.eclipse.server.ui.internal

Examples of org.cloudfoundry.ide.eclipse.server.ui.internal.ICoreRunnable


  public boolean performFinish() {

    final List<CloudRoute> toDelete = routePage.getRoutesToDelete();

    if (!toDelete.isEmpty()) {
      CloudUiUtil.runForked(new ICoreRunnable() {
        public void run(final IProgressMonitor monitor) throws CoreException {
          cloudServer.getBehaviour().deleteRoute(toDelete, monitor);
        }
      }, this);
    }
View Full Code Here


      updateRoutes();
    }

    protected void updateRoutes() {

      runAsynchWithWizardProgress(new ICoreRunnable() {

        @Override
        public void run(IProgressMonitor monitor) throws CoreException {

          CloudFoundryServerBehaviour behaviour = server.getBehaviour();
View Full Code Here

    setBoundServiceSelectionInUI();
  }

  protected void setInput() {

    ICoreRunnable runnable = new ICoreRunnable() {

      public void run(IProgressMonitor monitor) throws CoreException {

        try {
          List<CloudService> existingServices = cloudServer.getBehaviour().getServices(monitor);
View Full Code Here

                  IStatus.ERROR));
      return;
    }

    final String operationLabel = Messages.AbstractURLWizardPage_LABEL_FETCHING_DOMAIN;
    ICoreRunnable runnable = new ICoreRunnable() {
      public void run(IProgressMonitor coreRunnerMonitor) throws CoreException {
        SubMonitor subProgress = SubMonitor.convert(coreRunnerMonitor, operationLabel, 100);
        try {
          urlLookup.refreshDomains(subProgress);
          refreshedDomains = true;
View Full Code Here

        final String password = cloudServer.getPassword();
        final String userName = cloudServer.getUsername();
        final String url = cloudServer.getUrl();
        final boolean selfSignedCert = cloudServer.getSelfSignedCertificate();

        CloudUiUtil.runForked(new ICoreRunnable() {
          public void run(final IProgressMonitor monitor) throws CoreException {

            ServerHandler serverHandler = new ServerHandler(descriptor);

            serverHandler.createServer(monitor, ServerHandler.NEVER_OVERWRITE, new ServerHandlerCallback() {
View Full Code Here

      this.editorPage = editorPage;
    }

    public void performWhenPageVisible(){
      // When the page is visible, populate the page
      runAsynchWithWizardProgress(new ICoreRunnable() {
        @Override
        public void run(IProgressMonitor monitor) throws CoreException {
          if (server != null){
            CloudFoundryServerBehaviour behaviour = server.getBehaviour();
            if (behaviour != null){
View Full Code Here

      return true;
    }

    protected void performFinish() { 
      try {
        CloudUiUtil.runForked(new ICoreRunnable() {
          @Override
          public void run(IProgressMonitor monitor) throws CoreException {
            monitor.setTaskName(Messages.MANAGE_SERVICES_TO_APPLICATIONS_FINISH);
            CloudFoundryServerBehaviour behaviour = server.getBehaviour();
            if (serviceToApplicationsBindingPart != null && server != null && behaviour != null){
View Full Code Here

TOP

Related Classes of org.cloudfoundry.ide.eclipse.server.ui.internal.ICoreRunnable

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.