Procedure for creating class
In order to create Class in composite structure diagram,
1. | Click [Toolbox] -> [Composite Structure] -> [Class] button |
![ch05_91](ch05_91.jpg)
2. | Click at the position where Class will be placed in the [main window]. |
![ch05_92](ch05_92.jpg)
3. | At the quick dialog, enter the class name. |
![ch05_93](ch05_93.jpg)
4. | Press [Enter] key. Then a class is created finally. |
![ch05_94](ch05_94.jpg)
Procedure for creating port
In order to create port in composite structure diagram,
1. | Click [Toolbox] -> [Composite Structure] -> [Port] button. |
![ch05_95](ch05_95.jpg)
2. | And click the class where the port will be contained in the [main window]. |
![ch05_96](ch05_96.jpg)
3. | At the quick dialog, enter the port name. |
![ch05_97](ch05_97.jpg)
4. | Press [Enter] key. Then a port is created. |
![ch05_98](ch05_98.jpg)
Procedure for creating view by draging port
You can create port by draging port from [model explorer] to main diagram.
1. | Click port in the [model explorer]. |
![ch05_99](ch05_99.jpg)
2. | Drag it and drop on the class in the composite structure diagram. |
![ch05_910](ch05_910.jpg)
3. | If it is not dropped on the component but on the other area of the diagram, component with port will be created. |
![ch05_911](ch05_911.jpg)
Procedure for creating part
In order to create part in composite structure diagram
1. | Click [Toolbox] -> [Composite Structure] -> [Part] button |
![ch05_912](ch05_912.jpg)
2. | Click a class where the part will be contained in the [main window]. |
![ch05_913](ch05_913.jpg)
3. | Then a part is created in the class. |
![ch05_914](ch05_914.jpg)
Procedure for creating connector
In order to create connector in composite structure diagram,
1. | Click [Toolbox] -> [Composite Structure] -> [Connector] button. |
![ch05_915](ch05_915.jpg)
2. | Drag from one part and drop to the other part in the [main window]. |
![ch05_916](ch05_916.jpg)
3. | Then connector between two parts is created finally. |
![ch05_917](ch05_917.jpg)
Procedure for creating providing interface of class.
In order to create providing inteface of class in composite structure diagram, use shortcut creation syntax.
1. | Double-click class and quick dialog appears. |
![ch05_918](ch05_918.jpg)
2. | At the quick dialog, enter "-@" staring and interface name, separate interface names by "," character. |
![ch05_919](ch05_919.jpg)
3. | And press [Enter] key. Several interfaces provided by selected class is created and arranged automatically. |
![ch05_920](ch05_920.jpg)
Procedure for creating requiring interface of class.
In order to create requiring inteface of class, use shortcut creation syntax.
2. | At the quick dialog, enter "-(" or "-->", and enter interface names, separate interface names by "," character. |
![ch05_921](ch05_921.jpg)
3. | And press [Enter] key. Several interfaces required by selected class is created and arranged automatically. |
![ch05_922](ch05_922.jpg)
|