On 12/11/06, Thomas M. Hofmann <firstname.lastname@example.org> wrote:
> Hi again,
> I just updated and debugged the code.
> The isReadOnly method does not what it should. file.getFullPath().toFile();
> evalutes to a path that is missing the workspace root an thus is always
> treated as read only.
Do you know of any other way to get a File from an IFile? I can do it using
classes we have in Subclipse, but it would only work for managed files, and
this needs to work for unmanaged files too,
But please have a look at the following code again and my comments.
It doesn't really come through to GMail in a way that is terribly readable
but I think I get the gist of what you are saying. Please try the latest
from the repository. I have not addressed the isReadOnly method, but I
think I have the rest right once we can plugin in a working method. You
could try plugging in the simple method that exists on an IFile. Maybe it
was an incorrect assumption to think that info was wrong.
Received on Mon Dec 11 21:44:46 2006