Examples of showFile()


Examples of org.cfeclipse.cfml.views.explorer.FileExplorerView.showFile()

      //  else {
          filePath = ((FileEditorInput)editor.getEditorInput()).getFile().getRawLocation().toString();
      //  }
        IWorkbenchPage page = PlatformUI.getWorkbench().getActiveWorkbenchWindow().getActivePage();
        FileExplorerView explorer = (FileExplorerView)page.showView(FileExplorerView.ID_FILE_EXPLORER);
        explorer.showFile(filePath);
      }
      catch(ClassCastException e) {
        AlertUtils.alertUser("This action does not currently work with remote files.");
      }
      catch(Exception e) {
View Full Code Here

Examples of org.rstudio.studio.client.common.viewfile.ViewFilePanel.showFile()

                                
                               }
                                
                              }));
                       
                        viewFilePanel.showFile(
                              event.getFilename() + " @ " + event.getRevision(),
                              FileSystemItem.createFile(event.getFilename()),
                              contents);
                     }
View Full Code Here

Examples of org.rstudio.studio.client.common.viewfile.ViewFilePanel.showFile()

      else if (".md".equalsIgnoreCase(extension) ||
               extension.toLowerCase().startsWith(".markdown") ||
               ".tex".equalsIgnoreCase(extension))
      {
         ViewFilePanel viewFilePanel = pViewFilePanel_.get();
         viewFilePanel.showFile(
            FileSystemItem.createFile(result.getOutputFile()), "UTF-8");
      }
      else
      {
         if (Desktop.isDesktop())
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.