1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-13 20:15:22 +02:00

[200872] fix: [Archives] Size Property displays size of Archive not of file inside Archive

This commit is contained in:
Xuan Chen 2007-10-26 03:10:53 +00:00
parent 6c0b64d3dd
commit 250d3197ba

View file

@ -13,6 +13,7 @@
* *
* Contributors: * Contributors:
* {Name} (company) - description of contribution. * {Name} (company) - description of contribution.
* Xuan Chen (IBM) - [200872] [Archives] Size Property displays size of Archive not of file inside Archive
*******************************************************************************/ *******************************************************************************/
package org.eclipse.rse.internal.subsystems.files.local.model; package org.eclipse.rse.internal.subsystems.files.local.model;
@ -88,6 +89,11 @@ public class LocalVirtualFile extends LocalFile implements IVirtualRemoteFile
_node.getChild().renameTo(string); _node.getChild().renameTo(string);
} }
public long getLength()
{
return _node.getChild().getSize();
}
public void setVirtualFullPath(String string) public void setVirtualFullPath(String string)
{ {
if (string.equals("")) //$NON-NLS-1$ if (string.equals("")) //$NON-NLS-1$