Project: Eclipse_Platform_UI
Bug 387367 JFace Snippet Snippet010OwnerDraw rework
Reported: 2012-08-16 06:04:38 | Status: resolved fixed

Snippet010OwnerDraw has some issues: 1.) Usage of depreciated API OwnerDrawLabelProvider.setUpOwnerDraw(viewer); 2.) Unused method setFocus 3.) setInput for the ContentProvider is ignored 4.) Own ContentProvider can be replaced by ArrayContentProvider

Files changed in fix:
examples/org.eclipse.jface.snippets/Eclipse JFace Snippets/org/eclipse/jface/snippets/viewers/Snippet010OwnerDraw.java