1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-27 10:55:33 +02:00

[187732] can only do the reget of "remote" items

This commit is contained in:
David McKnight 2007-05-24 18:29:06 +00:00
parent 6e3638f499
commit 04efec958b

View file

@ -2106,6 +2106,10 @@ public class SystemView extends SafeTreeViewer
src = adapter.getParent(src); src = adapter.getParent(src);
} }
else else
{
// only do this if the object is "remote"
Object remoteAdapter = getRemoteAdapter(src);
if (remoteAdapter != null)
{ {
// get up-to-date version of the container (need to make sure it still exists) // get up-to-date version of the container (need to make sure it still exists)
if (ss == null) if (ss == null)
@ -2139,6 +2143,7 @@ public class SystemView extends SafeTreeViewer
} }
} }
} }
}
refreshRemoteObject(src, parent, originatedHere); refreshRemoteObject(src, parent, originatedHere);
break; break;