TUTORIAL/Creating architectures

The name of the ports is not allowed to be an empty string.
In order to be changed the visibility of the port description, do not click on the port, but on the description itself.

For creating state diagrams with Papyrus see our Sreencast (you can play it with VLC)

ADIT specific

For a display and a biddable domain use only one external port.
Lexical domains for transient data are represented as data types as part of the application.

see also:
http://www.papyrusuml.org/scripts/home/publigen/content/templates/show.asp?P=142&L=EN&ITEMID=28

Note that it is necessary that the architecture profile has been applied!

1. Create a new composite diagram and name it accordingly:
 - Outline->Add a Diagram->Create a new Composite Diagram



2. Add machine:
- Outline: select Package "Context Diagram" or "Problem Diagram"
- Choose the machine domain and add it to the composite diagram (via drag and drop)



3. (OPTIONAL) Apply stereotype from Arch profile (considering type of machine, e.g., local, distributed, etc.)




4. Add ports
-
Palette->UML Elements->Ports


5. Add new class diagram and name it accordingly (e.g. port types)
-
Outline->Add a Diagram->Create a new Class Diagram



6. Add a new class from the Palette. Name it based on the name of the associated domain.


7. Add interfaces:
- Choose the appropriate interfaces from Outline
- Add them to the class diagram-
- Palette->UML Links: Insert use and realization for the interface



8. Return to composite diagram

- Add type to previously added port: Properties->General->Type select the project and then the just created class


9. Display Interfaces:
-
Properties->General->Required/Provided Interface: highlicht interface and then click on screen icon


10. Add classes as components and add the stereotype component or re-used component, respectively.



11. Add Ports




12. Define types for the ports



13. Connect port to (external) port
-Palette->UML Links->Connector