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:
parent
97fcc0a5e9
commit
ec00cc72ea
1 changed files with 15 additions and 0 deletions
|
@ -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())
|
||||
|
|
Loading…
Add table
Reference in a new issue