1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 01:45:33 +02:00

[174942] applied pathc for table view to get remote object identifer

This commit is contained in:
David McKnight 2007-02-22 15:25:55 +00:00
parent aa71d9e804
commit 95a6f8c8e1

View file

@ -1577,7 +1577,11 @@ public class SystemTableView
*/
protected IRemoteObjectIdentifier getRemoteObjectIdentifier(Object o)
{
return (IRemoteObjectIdentifier)((IAdaptable)o).getAdapter(IRemoteObjectIdentifier.class);
IRemoteObjectIdentifier objectId = null;
try{
objectId = (IRemoteObjectIdentifier)((IAdaptable)o).getAdapter(IRemoteObjectIdentifier.class);
}catch(ClassCastException e){}
return objectId;
}
/**