E.3. Table Editor


E.3.1. Table Editor

The Table Editor provides a table-based object type structured view of the contents of a model. The figure below shows a relational model viewed in the Table Editor. Common object types are displayed in individual folders/tables. All base tables, for instance, are shown in one table independent of their parentage.
Table Editor Example

Figure E.9. Table Editor Example

You can customize Table Editor properties via Table Editor Preferences.
These are the primary features of the Table Editor:
  • Edit existing properties.
  • Add, remove or edit objects, via the main Edit menu and context menu ( Cut, Copy, Paste, Clone, Delete, Rename, Insert Rows ).
  • Paste information from your clipboard into the table.
  • Print your tables.
When a Table Editor is in focus, the Insert Table Rows action is added to the application's main toolbar.
A few Table Editor actions are contributed to the right-click menu for selected table rows. These actions, described and shown below include:
  • Table Paste - Paste common spreadsheet data (like Microsoft Excel) to set object properties.
  • Table Editor Preferences - Change table editor preferences, including customizing visible properties.
  • Insert Rows - Create multiple new sibling objects.
  • Refresh Table - Refreshes the contents of the current Table Editor to insure it is in sync with the model.
    Table Editor Example

    Figure E.10. Table Editor Example

E.3.2. Editing Properties

You can edit properties for an object by double-clicking a table cell.
For String properties, the table cell will become an in-place text editor field.
Editing String Property

Figure E.11. Editing String Property

If a property is of a boolean (true or false) type or has multiple, selectable values, a combo box will be displayed to change the value.
Editing Boolean Value

Figure E.12. Editing Boolean Value

Editing Multi-Value Property

Figure E.13. Editing Multi-Value Property

For multi-valued properties where the available values are dynamic (i.e. can change based on available models or data), a picker button .... will be displayed.
Editing Multi-Value With Picker

Figure E.14. Editing Multi-Value With Picker

An example of this type is the relational column datatype property. Editing via the table cell and clicking the ... button for datatype will display the following dialog.
Editing Datatype Values

Figure E.15. Editing Datatype Values

E.3.3. Inserting Table Rows

The Insert Rows action provides an additional way to create objects in a model. Insert Rows action performs the same function as Insert Sibling action, but allows you to create multiple children at the same time. All new rows will correspond to an object of the same type as the selected object and be located under the same parent as the selected object.
To Insert Rows in a table:
  1. Select a table row to insert rows after.
  2. Right-click select Insert Rows action or click the Insert Rows action on the main toolbar. The following dialog will be displayed.
    Editing String Property

    Figure E.16. Editing String Property

  3. Edit the Number of Rows value in the dialog, or use the up/down buttons to change the value.
  4. Click OK in dialog.
The desired number of rows (new model objects) will be added after the original selected table row.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.