mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-31 21:05:37 +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:
|
case EVENT_PROPERTY_CHANGE:
|
||||||
if (debug) logDebugMsg("SV event: EVENT_PROPERTY_CHANGE "); //$NON-NLS-1$
|
if (debug) logDebugMsg("SV event: EVENT_PROPERTY_CHANGE "); //$NON-NLS-1$
|
||||||
String[] allProps = { IBasicPropertyConstants.P_TEXT, IBasicPropertyConstants.P_IMAGE };
|
String[] allProps = { IBasicPropertyConstants.P_TEXT, IBasicPropertyConstants.P_IMAGE };
|
||||||
ISystemViewElementAdapter ra = getViewAdapter(src);
|
ISystemRemoteElementAdapter ra = (ISystemRemoteElementAdapter)((IAdaptable)src).getAdapter(ISystemRemoteElementAdapter.class);
|
||||||
if (ra != null) {
|
if (ra != null) {
|
||||||
updateRemoteObjectProperties(src);
|
updateRemoteObjectProperties(src);
|
||||||
} else
|
} else
|
||||||
|
|
Loading…
Add table
Reference in a new issue