mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 23:55:26 +02:00
Bug 161936: Cannot create remote file
This commit is contained in:
parent
60c390b79e
commit
79f1e885ee
2 changed files with 7 additions and 3 deletions
|
@ -285,6 +285,10 @@ public class SystemNewFileWizard
|
|||
selectedFilterRef.markStale(true);
|
||||
}
|
||||
|
||||
// invalidate filters that reference this object
|
||||
// TODO: we shouldn't have to do this. Presumably step 0 below should take care of it.
|
||||
SystemRegistry.getSystemRegistry().invalidateFiltersFor(newFileOrFolder, parentFolder.getParentRemoteFileSubSystem());
|
||||
|
||||
// step 0: refresh all affected filters...
|
||||
ISubSystem fileSS = newFileOrFolder.getParentRemoteFileSubSystem();
|
||||
sr.fireRemoteResourceChangeEvent(ISystemRemoteChangeEvents.SYSTEM_REMOTE_RESOURCE_CREATED, newFileOrFolder, parentFolder, fileSS, null, viewer);
|
||||
|
|
|
@ -303,9 +303,9 @@ public abstract class RemoteFileSubSystem extends SubSystem implements IRemoteFi
|
|||
return false;
|
||||
}
|
||||
}
|
||||
else if (strings[idx].equals("./*")) {
|
||||
would = true;
|
||||
}
|
||||
//else if (strings[idx].equals("./*")) {
|
||||
// would = true;
|
||||
//}
|
||||
else {
|
||||
would = doesFilterStringMatch(strings[idx], remoteObjectAbsoluteName, filter.areStringsCaseSensitive());
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue