Package org.cfeclipse.frameworks.fusebox.actions

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


          String circuitFile = fbxapp.getCircuitFile().getFullPath().toString();
               
          //showMessage("opening:" + circuitFile);
          OpenFileAction openFileAction = new OpenFileAction();
          openFileAction.setFilename(circuitFile);
          openFileAction.run();
          if(!openFileAction.isSuccess()){
            showMessage("File Not found: " + circuitFile);
           
          }
        }
View Full Code Here

         
          if(circ.getSwitchFile() != null){
            OpenFileAction openFileAction = new OpenFileAction();
            String switchPath = circ.getSwitchFile().getFullPath().toString();
            openFileAction.setFilename(switchPath);
            openFileAction.run();
            if(!openFileAction.isSuccess()){
              showMessage("File Not found: " + switchPath);
             
            }
          }
View Full Code Here

          //showMessage(fusePath);
          //We open the file then go to the line.(which we should have stored in the FBXFuseAction or we get it
          // again with a "getFuseActionLocation(circuit, fuseaction) from the FBXparser
          //Find if it already has
          openFileAction.setFilename(fusePath);
          openFileAction.run();
          if(!openFileAction.isSuccess()){
            showMessage("File Not found: " + fusePath);
           
          }
        }
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.