4.3.2 Objects
Each object (i.e. each row in the table) has a pop-up menu
that includes all the functionality that is needed for creating, editing,
linking, deleting and replacing elements of the table. The menu also includes
the operations for making explosions and decompositions to other
graphs.
 | Note
that only objects can be added in the Table Editor. Adding relationships and
roles is not allowed, because the table representation is poorly suited to
handling the binding of a relationship, its objects and roles.
|
Adding objects
To add an object (i.e. a row) in the Table Editor:
1) | Select
the row above which you want to add the object (with the left mouse button). If
none of the rows is selected, objects will be added to the last row of the
table. |
2) | Open
the object’s pop-up menu (with the right mouse button).
|
3) | Select
Add... from the menu. |
A dialog
opens allowing you to enter information about the new object. Enter the required
information and press
OK.
Adding existing objects
To add an existing element into the table select Add
Existing... from the table pop-up menu. This works as in other
editors.
To add an existing element:
1) | Click
the left mouse button at the row of the table above which you want to add an
object. If there is no selection, the object will be added at the
end. |
2) | Open
the pop-up menu with the right mouse
button. |
3) | Select
Add Existing... from the menu.
|
4) | A
Component Selection tool opens, initially allowing you to pick objects that are
already defined in the current graph, but also allowing you to navigate to any
object in the open
projects. |
| Objects
of the table’s object type are shown with normal text, whereas other
objects are shown in italics. Please note that all objects listed with normal
text are not necessarily represented in the current table: they may be
represented in a diagram, a matrix, or in another table of the same graph (see
Section 6.2.2). |
5) | Choose
the objects you need, and press OK (for more information about the
Component Selection Tool, see Section 3.3.2). |
Editing objects
Information about each object can be edited by selecting
Properties... from the pop-up menu or the Edit menu. There are
also two shortcuts: double-clicking with the mouse and pressing Enter on the
keyboard.
As a result a property dialog opens allowing you to edit
the information related to the object. See Section
3.3.1 for more information on property
dialogs.
Deleting objects
To remove a design element, select it in the table and then
choose
Delete from its pop-up menu or the
Edit menu. Note that
there are different deletion policies that you can choose through the Options
Tool (Section
3.1.3).
Replacing objects
To open the Replace Tool for an object in the Table
Editor:
1) | Select
the object to be
replaced. |
2) | Select
Replace... from the pop-up menu or select Edit |
Replace.... |
3) | A
Replace Tool will open. |
For more
information about the Replace Tool, see Section
3.3.5.