Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Eclipse Platform » tree viewer project
tree viewer project [message #287931] Fri, 08 July 2005 10:42
Eclipse User
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
Previous Topic:How do I change JRE javaw path in Eclipse 3.0?
Next Topic:And now, writing files from within Eclipse plugins?
Goto Forum:
  


Current Time: Mon May 20 23:12:03 EDT 2013

Powered by FUDForum. Page generated in 0.01600 seconds