|How To Programmatically Open An External File With Specified Editor [message #479791]
||Wed, 12 August 2009 14:22
Originally posted by: runzhou.li.gmail.com|
Can anybody tell me the best way to open an external file with specified
editor. In addition it would nice to hide the url as well.
The scenario is that it's an html file locates within the plugin, and I am
able to get the absolute path of that file in file system format as a
string. What I want to achieve is to open it in run-time workspace with a
web browser editor or some sort.
I tried to use IFile.createLink() and then IDE.openEditor() with specified
editor id, but it's obviously not the most efficient way and it's project
based so there is always an ugly link appears in each and every project
which is what I don't want.
Maybe I did something wrong, or else please suggest a better way.
Powered by FUDForum
. Page generated in 0.01870 seconds