Bug 115005 - Implementations of label providers for a viewer causes compile errors
Summary: Implementations of label providers for a viewer causes compile errors
Status: NEW
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: VE (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Srimanth CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-11-03 18:07 EST by Peter Walker CLA
Modified: 2011-06-13 11:38 EDT (History)
1 user (show)

See Also:


Attachments
testviewers package - open ViewersExample.java (2.64 KB, application/zip)
2005-11-03 18:08 EST, Peter Walker CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Peter Walker CLA 2005-11-03 18:07:44 EST
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.
Comment 1 Peter Walker CLA 2005-11-03 18:08:49 EST
Created attachment 29294 [details]
testviewers package - open ViewersExample.java