1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-14 12:35:22 +02:00

[173518] updated copright

This commit is contained in:
David McKnight 2007-06-07 16:33:17 +00:00
parent f669631dfe
commit b79400f4a9

View file

@ -16,6 +16,7 @@
* Martin Oberhuber (Wind River) - [183824] Forward SystemMessageException from IRemoteFileSubsystem * Martin Oberhuber (Wind River) - [183824] Forward SystemMessageException from IRemoteFileSubsystem
* Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry * Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry
* David Dykstal (IBM) - [160776] format file size according to client system conventions and locale * David Dykstal (IBM) - [160776] format file size according to client system conventions and locale
* David McKnight (IBM) - [173518] [refresh] Read only changes are not shown in RSE until the parent folder is refreshed
********************************************************************************/ ********************************************************************************/
package org.eclipse.rse.internal.files.ui.propertypages; package org.eclipse.rse.internal.files.ui.propertypages;
@ -497,9 +498,16 @@ public class SystemFilePropertyPage extends SystemBasePropertyPage
// oldCanWrite and updatedValue may not be the same depending on the underlying file service // oldCanWrite and updatedValue may not be the same depending on the underlying file service
// If the file service updates the underlying object, then there is no need for a remote refresh // If the file service updates the underlying object, then there is no need for a remote refresh
if (oldCanWrite == updatedValue) if (oldCanWrite == updatedValue)
{
if (remoteFile.isDirectory())
{
sr.fireEvent(new SystemResourceChangeEvent(remoteFile.getParentRemoteFile(),ISystemResourceChangeEvents.EVENT_REFRESH_REMOTE, null));
}
else
{ {
sr.fireEvent(new SystemResourceChangeEvent(remoteFile,ISystemResourceChangeEvents.EVENT_REFRESH_REMOTE, null)); sr.fireEvent(new SystemResourceChangeEvent(remoteFile,ISystemResourceChangeEvents.EVENT_REFRESH_REMOTE, null));
} }
}
else else
{ {
sr.fireEvent(new SystemResourceChangeEvent(remoteFile,ISystemResourceChangeEvents.EVENT_PROPERTY_CHANGE,null)); sr.fireEvent(new SystemResourceChangeEvent(remoteFile,ISystemResourceChangeEvents.EVENT_PROPERTY_CHANGE,null));