Package org.eclipse.ui.console

Examples of org.eclipse.ui.console.TextConsole.addHyperlink()


        link = (IHyperlink) new URLLink(f.toURI(), ln);
      else
        link = new FileLink(p.getFile(fn), null, -1, -1, ln);

      try {
        console.addHyperlink(link, event.getOffset(), event.getLength());
      } catch (BadLocationException e) {
        e.printStackTrace();
      }
    }
  }
View Full Code Here


      IResource resource = getFile(parser.filename);
      if(resource instanceof IFile) {
        IFile file = (IFile) resource;
        FileLink hyperlink = new FileLink(file,null,-1,-1,parser.linenr);
        try {
          console.addHyperlink(hyperlink, offset+parser.startinmatchedstring,
              parser.endinmatchedstring-parser.startinmatchedstring+1);
        } catch (BadLocationException e) {
        }
      } else {
        //VerilogPlugin.println("Not a filename!");
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.