Creating table layouts

You design the structure for your model elements query by setting up a table layout.

About this task

In a regular table layout, the filtering of the data is done through the selected element types. You select a set of metaclasses on the Element Types tab when you set up your table layout. When you view your table, the table shows you the elements of those metaclasses that are in the defined scope for that table view.

When you create a regular table layout, you select one or more elements types to filter the data for your table.
  • A table row represents one model element.
  • A table column represents a particular attribute of that model element.

For an extended table layout for a relation table, the filtering functionality has been extended so that in addition to the element type filtering, you can include filtering the elements by the metaclass of their "form" and "to" elements. For information about creating extended table layouts, see Creating extended table layouts.

Procedure

  1. Right‑click the package in the Rational® Rhapsody® browser where you want to create and store your table layout, and select Add New > Table\Matrix > Table Layout.
    Note: Add New > Table\Matrix is the default menu command structure in the product. It can be changed by users. This topic assumes that all defaults are in place.
  2. In the browser, enter a name for this table design. You might want to include the word "layout" in the name to help identify your defined layouts from their generated views.
  3. Double-click the new layout in the browser to open its Features window.
  4. On the Element Types tab, select one or more element types to filter the data for your table.
    Features window for table layout - Element types tab
  5. Click Apply to save your selections without closing the Features window, and then add columns to your table layout. See Adding a new column to the table layout.
    Tip: To change an existing regular table layout to be an extended table layout, on the Rational Rhapsody browser, right-click the regular table layout and select Change to > Extended Table Layout.

Feedback