Community
Participate
Working Groups
From eclipse corner: According to PropertyDescriptor's documentation, there is a class called CheckBoxPropertyDescriptor. However, I didn't find it in org.eclipse.ui.views.properties, and not anywhere else. Is this a bug? I'm using Eclipse 1.0. Here is the what PropertyDescriptor says: * There are several concrete subclasses provided in this package that cover * the most common cases: * <ul> * <li><code>TextPropertyDescriptor</code> - edits with a * <code>TextCellEditor</code></li> * <li><code>CheckboxPropertyDescriptor - edits with a * <code>CheckboxCellEditor</code></code></li> * <li><code>ComboBoxPropertyDescriptor - edits with a * <code>ComboBoxCellEditor</code></code></li> * <li><code>ColorPropertyDescriptor - edits with a * <code>ColorCellEditor</code></code></li>
This is a bug in the doc. There is no such class. The CheckboxCellEditor is not a "real" editor (it does not have a control). Not sure of the reporter's case but perhaps a two-value combo box will work. I have fixed the doc.
The documentation for IPropertyDescriptor suffers from the same thing. Not sure if you want to open a separate bug, reopen this one, or just resolve the issue...
It would be best if you opened a new defect report and attached a patch that fixed the problem.