mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-04 15:45:25 +02:00
[174624] check for ISystemRemoteElementAdapter before calling updateRemoteObjectProperties()
This commit is contained in:
parent
c853fcc372
commit
38ee12cb91
1 changed files with 1 additions and 1 deletions
|
@ -2003,7 +2003,7 @@ public class SystemView extends SafeTreeViewer implements ISystemTree, ISystemRe
|
|||
case EVENT_PROPERTY_CHANGE:
|
||||
if (debug) logDebugMsg("SV event: EVENT_PROPERTY_CHANGE "); //$NON-NLS-1$
|
||||
String[] allProps = { IBasicPropertyConstants.P_TEXT, IBasicPropertyConstants.P_IMAGE };
|
||||
ISystemViewElementAdapter ra = getViewAdapter(src);
|
||||
ISystemRemoteElementAdapter ra = (ISystemRemoteElementAdapter)((IAdaptable)src).getAdapter(ISystemRemoteElementAdapter.class);
|
||||
if (ra != null) {
|
||||
updateRemoteObjectProperties(src);
|
||||
} else
|
||||
|
|
Loading…
Add table
Reference in a new issue