Project: Eclipse_Platform_UI
Bug 150609 [Properties dialog][EFS] File properties for custom filesystem not shown
Reported: 2006-07-14 03:37:03 | Status: verified fixed

While implementing a custom filesystem, we came across the following problem: the properties 'last modified', 'location' and 'size' receive the value '<resource does not exist>'. The problem is due to the use of IResource#getLocation() in ResourcePropertySource and FilePropertySource which returns null in case of resources that are not stored on the default local filesystem. IResource#getLocationURI() should be used instead. In fact, this already happens in IDEResourceInfoUtils, which contains static versions of the same property retrieval methods implemented in ResourcePropertySource and FilePropertySource.

Files changed in fix:
bundles/org.eclipse.ui.ide/src/org/eclipse/ui/views/properties/FilePropertySource.java