mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-03 07:05:24 +02:00
[182982] fix for rename so that if an item can't be found via map lookup, we use recursive search
This commit is contained in:
parent
45cb699549
commit
b06712a747
1 changed files with 10 additions and 0 deletions
|
@ -5629,4 +5629,14 @@ ISelectionChangedListener, ITreeViewerListener, ISystemResourceChangeEvents, ISy
|
|||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
public void update(Object element, String[] properties) {
|
||||
Assert.isNotNull(element);
|
||||
Vector matches = new Vector();
|
||||
findAllRemoteItemReferences(element, element, matches);
|
||||
|
||||
for (int i = 0; i < matches.size(); i++) {
|
||||
internalUpdate((Item)matches.get(i), element, properties);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue