In the Schema Editor, you can modify the schema by creating new objects, interfaces, relationships, enumerated lists, and so on.
To create objects, interfaces, and relationships, you can use the two editor views: Editor and Editor2, as well as other Schema Editor views. These two editor views provide the same functionality, arranged in a slightly different user interface.
To open either of the editor views, on the View menu, click the type of file that you want to modify. Then click Editor or Editor2 in the Form box on the simple View dialog box or on the View tab of the advanced View dialog box. For example, to use one of the editor views to modify the active schema, click View > Schema (All).
Creating new objects
To create a new object in either of the editor views, you can double-click the object that you want to create in the Create tree.
-
You can also create objects and relationships by right-clicking objects in various Schema Editor views. For example, in the Schema Tree view, you can right-click a class and then click Create New ClassDef on the shortcut menu to display the Create dialog box for class definitions.
-
You can also drag and drop objects from the Create tree to the UML view to create them.
Creating new relationships between objects
In the Schema Editor, you can create relationships in a variety of ways. The following list describes the most common ways that you can use to create relationships:
-
Using the editor views
In the Editor or Editor2 views, you can double-click the Rel object in the Create tree. Then, you can define the relationship type and objects at end one and end two of the relationship using the New Relationship dialog box.
-
Editing the object at one end of the relationship
You can create relationships by editing the object at one end of the relationship using the Edit dialog box for that object. In the Edit dialog box, you can add, remove, or modify existing relationships by changing the values in the text boxes.
-
Modifying individual relationship edges
For relationships that display individual edges, for example, in the drag-and-drop UML views, you can create relationships by clicking the relationship edge and then clicking the appropriate command on the Actions menu. You can also right-click the object in the drag-and-drop UML view to select an edit command.