Project Notes
Project: Open Tools: CmtProperty Editor
Author: JBuilder Team
Company: borland.com
Description:
An example property editor that has special knowledge of the Design environment.
The java.beans.PropertyEditor interface has no mechanism for the property editor to discover anything
about the bean/environment that it is being invoked in. The com.borland.jbuilder.cmt.CmtPropertyEditor interface
solves this problem for property editors that wish to use it.
Notes:
This is an example of a property editor that is in use in JBuilder. More detail
on creating property editors can be found in the online documentation for
Creating Java beans.
This is the property editor that is used by beans that have a property of type
javax.swing.Icon. It is a "snapshot" of the editor and is likely to be out of date with
the one in the finished product.
Property editors that will be used as the default editor for a particular class should
be listed in the propertyEditors.properties file. Any reference in a BeanInfo file
that associates an Editor to a particular property overrides the associations made in propertyEditors.properties.