1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-04 15:45:25 +02:00

[164293] need to beginTask in order to see progress for dstore file service download

This commit is contained in:
David McKnight 2006-11-24 16:30:48 +00:00
parent cbebc7c1cb
commit 65d3ddee66

View file

@ -596,6 +596,10 @@ public class DStoreFileService extends AbstractDStoreService implements IFileSer
de = hostFile._element;
}
long fileLength = DStoreHostFile.getFileLength(de.getSource());
if (monitor != null)
{
monitor.beginTask(remotePath, (int)fileLength);
}
DataElement remoteElement = ds.createObject(universaltemp, de.getType(), remotePath, String.valueOf(mode));