Re: Re: RE: [Subclipse-dev] Bug introduced with 1.1.9 - LockDialog
On 12/11/06, Mark Phippard <email@example.com> wrote:
> 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,
I got the isReadOnly() method working correctly now. I suspect that this
part was a waste of time and that the method from IFile is probably correct
too, but now it is using java.io.File correctly.
Please test the latest
Received on Mon Dec 11 22:31:24 2006
This is an archived mail posted to the Subclipse Dev