Examples of run()


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

       */
      act = new Action("Edit this tag", null){
        public void run() {
       
            EditTagAction eta = new EditTagAction();
            eta.run();
          
        }
      };
     
      //Only display if you are at the start tag
View Full Code Here

Examples of org.cfeclipse.cfml.editors.actions.GenericEncloserAction.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"," ");
      gea.run();
     
      //Here we could parse it then
     
    Utils.println("<cfset fusebox.circuits." + name + " = \"" + path + "\">");
    Utils.println("create circuit: " + name + " in " + path + " and create circuit files?"  + createFolders);
View Full Code Here

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

    action1 = new Action() {
      public void run() {
          GenericNewFileAction nfa = new GenericNewFileAction();
          nfa.setFilename("test.cfm");
          nfa.setContents("a test string");
          nfa.run();
         
        showMessage("Fusebox Files created");
      }
    };
    action1.setText("Add Fusebox Files");
View Full Code Here

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

        Object obj = ((IStructuredSelection)selection).getFirstElement();
      //  showMessage("Double-click detected on "+obj.toString());
        if(obj instanceof FileNode) {
          FileNode selectedFile = (FileNode)obj;
          GenericOpenFileAction openAction = new GenericOpenFileAction(selectedFile.getFile());
          openAction.run();
         
        }
      }
    };
  }
View Full Code Here

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

//        System.out.println("Dropped File: " + dropped.getAbsolutePath());
//        System.out.println("Target File:  " + target.getAbsolutePath());
//        System.out.println("Relative path:" + relPath);
       
        InsertFileLink ifl = new InsertFileLink(dropped, relPath, editor);
        ifl.run();
   
      }
    }
   
      Object result = fileTransfer.nativeToJava(event.currentDataType);
View Full Code Here

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

      //This is not only for
      act = new Action("Genrate Getters and Setters", null){
          public void run(){
            InsertGetAndSetAction insertGetSet = new InsertGetAndSetAction();
            insertGetSet.setActiveEditor(null, getSite().getPage().getActiveEditor());
            insertGetSet.run(null);
          }
        };
     
      /*  TODO: Setup the Generate Getters and Setters,
       *   This might actually go into the suggest stuff
View Full Code Here

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

           
             toolItem1.addSelectionListener(new SelectionAdapter() {
                public void widgetSelected(SelectionEvent evt) {
                  ToolItem item = (ToolItem)evt.getSource();
                  InsertSnippetAction iSA = new InsertSnippetAction(item.getData().toString(), shell);
                  iSA.run();
                }
              });
          }
        }
      }
View Full Code Here

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

    //Thinking about this, instead of a Tag Item, maybe we should just use a Tag?
   
    if (obj instanceof TagItem) {
        TagItem tg = (TagItem)obj;
        InsertTagAction eta = new InsertTagAction(tg.getTag(), this.getViewSite().getShell());
          eta.run();
    }
    else if(obj instanceof FunctionItem){
        FunctionItem fn = (FunctionItem)obj;
        EditFunctionAction efa = new EditFunctionAction(fn.getFunction(), this.getViewSite().getShell());
          efa.run();
View Full Code Here

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

           
      act = new Action("Jump to matching tag", null) {
          public void run() {
              JumpToMatchingTagAction matchTagAction = new JumpToMatchingTagAction();
              matchTagAction.setActiveEditor(null, getSite().getPage().getActiveEditor());
              matchTagAction.run(null);
          }
      };
      menu.add(act);
     
      /*
 
View Full Code Here

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

      if(!inEclipse32){
       
        act = new Action("Show in File Explorer", null){
          public void run(){
            LocateInFileSystemAction action = new LocateInFileSystemAction();
            action.run(null);
          }
        };
          menu.add(act);
         
         
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.