Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 10 Business Object Modeler Tasks : Adding a Child Diagram to a Business Object Model

Adding a Child Diagram to a Business Object Model
You can add a child diagram to a Business Object Model, to allow you to reuse part of a parent diagram, and focus on that part of the diagram.
To add a child diagram:
1.
You can also make this selection from the Business Objects folder (New > Other > Other > Diagram, and you will then be asked which Business Object Model to use), or from the .bom file: New > Diagram or New > Other > Other > Diagram.
2.
 
3.
Click Finish. Using the elements selected above, your child diagram looks like this:
Adding Elements to the Child Diagram
To add elements to a child diagram after you have created it, you can drag and drop Class, Primitive Type or Enumeration elements from the parent Business Object Model model in Project Explorer (you can drag and drop from other Business Object Models but then you can only create copies or subclasses).
Drag the element, and when you drop it, you will see the following menu:
To create a view of the element in this diagram, select Create View. This means that you can see the element in this diagram, as well as in the main (parent) Business Object Model diagram.
To make a new copy of the element in the diagram select Copy Elements. In this case, a new copy of the element will appear in this diagram, and also in the main (parent) Business Object Model diagram
(when dragging and dropping a Class) To create a subclass of the selected class, select Create Subclasses. In this case, the subclass will appear in this diagram, and also in the main (parent) Business Object Model diagram.
You can also use the Palette to add Elements, Children, and Relationships to the diagram, by dragging and dropping the elements from the palette onto the child diagram. When you do this, the elements are new elements, and will appear in the child diagram and also in the main (parent) Business Object Model diagram.
 
 
Deleting Elements from the Child Diagram
If you want to delete any of the elements from the child diagram, select the element, and select Delete from Diagram or Delete from Model. If you delete from diagram, the elements will only be deleted from this child diagram. If you delete from model, the element will be deleted from the child diagram and also from the main (parent) Business Object Model diagram.
You can also delete the element using the Delete key. This has the same action as Delete from Diagram, that is, only the graphical view is deleted.

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved