Examples of run()


Examples of org.cfeclipse.cfml.editors.actions.LocateInTreeAction.run()

         
         
        act = new Action("Show in Navigator", null){
          public void run(){
            LocateInTreeAction action = new LocateInTreeAction();
            action.run(null);
          }
        };
          menu.add(act);
       
       
View Full Code Here

Examples of org.cfeclipse.cfml.editors.actions.RTrimAction.run()

      // Perform Trim Trailing Spaces
      RTrimAction trimAction = new RTrimAction();
      try {
        trimAction.setActiveEditor(null, getSite().getPage().getActiveEditor());
        trimAction.run(null);
      } catch (Exception e) {
        e.printStackTrace();
      }

    }
View Full Code Here

Examples of org.cfeclipse.cfml.frameworks.actions.IBaseAction.run()

            FrameworksContentProvider contentProvider = (FrameworksContentProvider)viewer.getContentProvider();
            Object[] leftClickActions = actionManager.getLeftClickAction(selNodeItem, currentProject, contentProvider.getVirtualDocument());
            for (int i = 0; i < leftClickActions.length; i++) {
              clickLogger.debug("clicked on" + selNodeItem + " got action  "+ leftClickActions[i]);
              IBaseAction action = (IBaseAction)leftClickActions[i];
              action.run();
            }
           
          }
         
        }
View Full Code Here

Examples of org.cfeclipse.frameworks.fusebox.actions.OpenFileAction.run()

    if(getCircuitFile() !=null){
      //We have a circuits file, lets open it, and add something along the lines of
      // <cfset f
      OpenFileAction ofa = new OpenFileAction();
      ofa.setFile(getCircuitFile());
      ofa.run();
     
      //Need to insert something at the END of the document
      GenericEncloserAction gea = new GenericEncloserAction();
      gea.setActiveEditor(null, PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage().getActiveEditor());
      gea.setEnclosingStrings("\n<cfset fusebox.circuits." + name + " = \"" + path + "\">\n"," ");
View Full Code Here

Examples of org.cloudfoundry.ide.eclipse.server.core.internal.client.ICloudFoundryOperation.run()

        try {
          ICloudFoundryOperation operation = getOperation(monitor);
          if (operation == null) {
            return CloudFoundryPlugin.getStatus(Messages.CloudFoundryEditorAction_TEXT_NO_OP_EXECUTE, IStatus.WARNING);
          }
          operation.run(monitor);
        }
        catch (CoreException e) {
          CloudFoundryException cfe = e.getCause() instanceof CloudFoundryException ? (CloudFoundryException) e
              .getCause() : null;
          if (cfe instanceof NotFinishedStagingException) {
View Full Code Here

Examples of org.cloudfoundry.ide.eclipse.server.rse.internal.ConfigureRemoteCloudFoundryAction.run()

      Link configLink = new Link(client, SWT.NONE);
      configLink.setText(Messages.ApplicationDetailsPart_TEXT_SHOW_IN_REMOTE_VIEW);
      configLink.addSelectionListener(new SelectionAdapter() {
        @Override
        public void widgetSelected(SelectionEvent e) {
          configAction.run();
        }
      });
    }
  }
View Full Code Here

Examples of org.cloudfoundry.ide.eclipse.server.ui.internal.actions.AddServicesToApplicationAction.run()

                      ModifyServicesForApplicationAction bindService =
                          new AddServicesToApplicationAction(structuredSelection,
                              module,
                              server.getBehaviour(),
                              editorPage);
                      bindService.run();           
                    }
                    else {
                      ModifyServicesForApplicationAction unbindService =
                          new RemoveServicesFromApplicationAction(structuredSelection,
                              module,
View Full Code Here

Examples of org.cloudfoundry.ide.eclipse.server.ui.internal.actions.ModifyServicesForApplicationAction.run()

                      ModifyServicesForApplicationAction bindService =
                          new AddServicesToApplicationAction(structuredSelection,
                              module,
                              server.getBehaviour(),
                              editorPage);
                      bindService.run();           
                    }
                    else {
                      ModifyServicesForApplicationAction unbindService =
                          new RemoveServicesFromApplicationAction(structuredSelection,
                              module,
View Full Code Here

Examples of org.cloudfoundry.ide.eclipse.server.ui.internal.actions.RefreshApplicationEditorAction.run()

  }

  public void refresh(RefreshArea area, boolean userAction) {
    RefreshApplicationEditorAction action = new RefreshApplicationEditorAction(this, area);
    action.setUserAction(userAction);
    action.run();
  }

  public void selectAndReveal(IModule module) {
    masterDetailsBlock.refreshUI(RefreshArea.MASTER);
    TableViewer viewer = masterDetailsBlock.getMasterPart().getApplicationsViewer();
View Full Code Here

Examples of org.cloudfoundry.ide.eclipse.server.ui.internal.actions.RemoveServicesFromApplicationAction.run()

                      ModifyServicesForApplicationAction unbindService =
                          new RemoveServicesFromApplicationAction(structuredSelection,
                              module,
                              server.getBehaviour(),
                              editorPage);
                      unbindService.run();
                    }
                  }
                }                 
                           
              }
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.