| tree viewer project [message #287931] |
Fri, 08 July 2005 10:42 |
|
Originally posted by: the-edin.gmx.de
hello, i have the following question, i made an eclipse plugin, that
creates a tree viewer representig a given direcotry and it subdirs. this
directory contains files of type *.java, and i want it when you
doubleklick on an object of the tree, the eclipse java editor is openend
with the choosen file.the problem is that this dir is not in the workspace
dir, it can be everywhere ont the harddisc. There is a method
JavaCore.create(IFile file) that creates an ICompilationUnit from the
IFile. but how to make an IFile from a File ? thnx for any help
|
|
|
Powered by
FUDForum. Page generated in 0.01600 seconds