Skip navigation links
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
12c (12.2.1.2.0)

E76725-01

Package oracle.ide.db.components

Contains the ComponentWrapper API, which allows DBObject properties to be associated with a UI Component, and the property value by kept synchronized with the UI.

See: Description

Package oracle.ide.db.components Description

Contains the ComponentWrapper API, which allows DBObject properties to be associated with a UI Component, and the property value by kept synchronized with the UI.

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>
 
Since:
12
Skip navigation links
Oracle Fusion Middleware Java API Reference for Oracle Extension SDK
12c (12.2.1.2.0)

E76725-01

Copyright © 1997, 2016, Oracle. All rights reserved.