1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 22:52:11 +02:00

more fixes for remote projects

This commit is contained in:
David McKnight 2006-04-24 15:01:51 +00:00
parent 97fcc0a5e9
commit ec00cc72ea

View file

@ -110,6 +110,21 @@ public class RSEFileStoreRemoteFileWrapper extends FileStore implements IFileSto
}
return _parent;
}
public boolean isParentOf(IFileStore other)
{
if (other instanceof RSEFileStoreRemoteFileWrapper)
{
RSEFileStoreRemoteFileWrapper otherWrapper = (RSEFileStoreRemoteFileWrapper)other;
RSEFileStoreRemoteFileWrapper parent = (RSEFileStoreRemoteFileWrapper)otherWrapper.getParent();
return _remoteFile == parent._remoteFile;
}
else
{
return false;
}
}
public InputStream openInputStream(int options, IProgressMonitor monitor) throws CoreException
{
if (_remoteFile.exists())