1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-08-21 07:05:58 +02:00

[175096] use SystemAdapterHelpers method to get adapter

This commit is contained in:
David McKnight 2007-02-22 13:19:25 +00:00
parent df4f46c8cc
commit 4e857e5e67

View file

@ -1282,7 +1282,7 @@ public class SystemView extends SafeTreeViewer implements ISystemTree, ISystemRe
protected ISystemViewElementAdapter getViewAdapter(Object o) protected ISystemViewElementAdapter getViewAdapter(Object o)
{ {
return (ISystemViewElementAdapter)((IAdaptable)o).getAdapter(ISystemViewElementAdapter.class); return SystemAdapterHelpers.getAdapter(o, this);
} }
/** /**