Community
Participate
Working Groups
Import the attached package into a Java project and open ViewersExample.java. Hover over the combo to show the action bar, select the ComboViewer in the action bar to display the properties in the property sheet view. Select the laberProvider property (the current setting is PersonLabelProvider). Select the right-most button to bring up the choose a bean dialog and select ILabelProvider from the list. Select Ok to close the dialog and generate the inner class with methods for ILabelProvider. The code generated is not complete... looks like it is missing a few braces or parenthesis. Note: this is not a problem if the labelProvider property is not set.
Created attachment 29294 [details] testviewers package - open ViewersExample.java