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:
parent
6c0b64d3dd
commit
250d3197ba
1 changed files with 6 additions and 0 deletions
|
@ -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$
|
||||||
|
|
Loading…
Add table
Reference in a new issue