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:
parent
aa71d9e804
commit
95a6f8c8e1
1 changed files with 5 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Add table
Reference in a new issue