[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[news.eclipse.tools] FileEditorInput works only on IFile?

Hello All,

I am working on writing a plugin that requires me to edit a file that is
outside the workspace directory. I see that the editor extensions only work
with IFile interface, which I think represents a resource inside workspace
directory. So here are my questions.

Is there a way to create eclipse File Object
(org.eclipse.core.internal.resources.File) for a file that is outside the
workspace directory?
Is there a way to create a FileEditorInput
(org.eclipse.ui.part.FileEditorInput) which takes java.io.File Object?

I suggestions/directions would be greatly appreciated.

Thanks
-Keerthi