Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 148122

Summary: [Preferences] ListEditor should have protected fields instead of private fields
Product: [Eclipse Project] Platform Reporter: Bernd Kolb <eclipse-bug>
Component: UIAssignee: Duong Nguyen <duongn>
Status: RESOLVED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: Tod_Creasey
Version: 3.2Keywords: helpwanted
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Bernd Kolb CLA 2006-06-21 17:10:38 EDT
I am not sure, if this is the right component, as the request is for jface...
Anyway:
I am using the org.eclipse.jface.preference.ListEditor. I have written a subclass in which am implementing the required methods, but it would be very useful for me to have a possibility to enable/disable the Add button, depending on the items in the list (E.g. I have just 5 values which can be added to the list. To achive this, I am opening a dialog when the add button is pressed. But I cannot enable / disable the add button if all elements are in the list. Also I don't get a message  if an item was removed)
It would be great to have accesor-methods for the buttons and the elements in the list.
Comment 1 Tod Creasey CLA 2007-06-13 16:19:47 EDT
There are currently no plans to work on this however I would be happy to look over a contribution