[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Re: RE: [Subclipse-dev] Bug introduced with 1.1.9 - LockDialog

From: Mark Phippard <markphip_at_gmail.com>
Date: 2006-12-11 21:44:41 CET

On 12/11/06, Thomas M. Hofmann <email@thomashofmann.com> 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.

Mark
Received on Mon Dec 11 21:44:46 2006

This is an archived mail posted to the Subclipse Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.