Create a Collection Editor

InterPlay uses the Collection Editors to display the Collection objects. You can create several Editors for each Collection Type and you can use the same Editor for several versions of the same Collection Type.

Collection Editor structure

The structure of the Collection Editor is defined as follows.

Create from scratch

  1. On the Details tab, enter the Collection Editor general information and select the Collection Type the editor must be associated with. See Specify Collection Editor details.
  2. In the table on the Object Type references tab, add references to the Object Types. See Specify Object Type references.
  3. On the Table Page tab, add Table Pages to list the objects of the different types. See Create a Table Page.
    For each Table Page specify Table Page details and Column properties.
  4. On the Form Page tab, add Form Pages to display the properties of the Collection and its singleton objects: Header and Footer.
    You must divide the Form Page into Zones that contain Fields.
  5. See Create a Form Page.
  6. In the table on the Function Calls tab, specify the function calls for the Collection Editor's fields. See Specify the function calls.

Generate from existing Formats

  1. In the table on the Object Type references tab, add references to the Object Types.
  2. Click to generate the editor from existing formats.
  3. Designer generates a Table Page per Object Type reference and a Form Page that contains the Collection Type properties. Editor labels are stored in the dictionary specified in the Collection Type.
  4. Refine the created objects if necessary.
  5. For Collection Editor fields, specify the function calls in the table on the Function Calls tab.

Generate a default Editor automatically

To generate a default editor automatically when the collection is edited, check the option Generate default editor in the corresponding collection type.

The generated Editors have a two-column layout. The default field property values are defined in the global UI settings. If a field has multiple possible values, a combobox is generated.

Configure the Editor to be dynamic

To configure the Editor to show only table pages which are populated with objects, check the option Dynamic Editor in the corresponding collection type.

The Editor will still have all its table pages but will only show in the UI the ones which are populated with objects.

Related Links