See: Description
Class | Description |
---|---|
ComponentContext |
Context object to hold information required by ComponentFactory
framework.
|
ComponentFactory |
A ComponentFactory is used to create
ComponentWrapper objects
that edit properties on a given DBObject. |
ComponentWrapper<T extends java.awt.Component> |
A ComponentWrapper encapsulates a UI component that edits a single
property on a given DBObject.
|
DBObjectIDComponentWrapper |
ComponentWrapper implementation that wraps one or more DBObjectChoosers
in order to edit a DBObjectID property.
|
The API will automatically select a ComponentWrapper implementation based on the metadata for a given property. For example a Boolean property will get a JCheckBox and a text property will get a JTextField. Further customisation is available by registering custom ComponentWrapper implementations using the declarative trigger hook "database-ui-hook".
For example, the following trigger-hook registers a custom wrapper for the columnIDs property on ColumnConstraint:
<database-ui-hook xmlns="http://xmlns.oracle.com/ide/extension/db"> <component-wrapper> <property-name>columnIDs</property-name> <object-class>oracle.javatools.db.ColumnConstraint</object-class> <wrapper-class>oracle.ideimpl.db.components.ConstraintColumnIDsWrapper</wrapper-class> </component-wrapper> <database-ui-hook>