If you use the standard property sheet page from Eclipse, it depends on the implementation of IPropertyDescriptor returned by IPropertySource.getPropertyDescriptors , regardless of how or how your property is editable in the view.
If you look at the JavaDoc IPropertyDescriptor , you will see the following:
Clients may implement this interface to provide specialized property descriptors; however, there are standard implementations declared in this package that take care of the most common cases: * PropertyDescriptor - read-only property * TextPropertyDescriptor - edits with a TextCellEditor * CheckboxPropertyDescriptor - edits with a CheckboxCellEditor * ComboBoxPropertyDescriptor - edits with a ComboBoxCellEditor * ColorPropertyDescriptor - edits with a ColorCellEditor
So, for your case, returning a PropertyDescriptor should do the trick.
source share