Bug 7389 - PropertyDescriptor's documentation indicates there is a CheckboxPropertyDescriptor
Summary: PropertyDescriptor's documentation indicates there is a CheckboxPropertyDescr...
Status: RESOLVED FIXED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 2.0   Edit
Hardware: PC other
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Kevin Haaland CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-01-09 10:51 EST by Randy Giffen CLA
Modified: 2004-12-15 18:03 EST (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Randy Giffen CLA 2002-01-09 10:51:26 EST
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>
Comment 1 Randy Giffen CLA 2002-01-09 10:58:41 EST
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.
Comment 2 Liam Morley CLA 2004-12-15 17:44:04 EST
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...
Comment 3 Kevin Haaland CLA 2004-12-15 18:03:19 EST
It would be best if you opened a new defect report and attached a patch that 
fixed the problem.