|Re: Component diagram and displaying required and provided interfaces [message #1015961 is a reply to message #1001351]
||Mon, 04 March 2013 07:29
| Jonathan Fernandez
Registered: February 2013
I think I managed to do what you want, without duplicating the interface usage/realisation.
The only thing is that I don't use Ports, because it doesn't work otherwise.
First, I have created a similar Class Diagram, as you showed in your post (class_interfaces.png)
Once you have that, the information the following informations are stored in the model :
- The component FlightPlanner realizes the Interface "FlightPlanAccess"
- The component FlightControl uses the Interface "FlightPlanAccess"
You can access this information via the Model Explorer Window.
Inside the FlightPlanner Component -> Client Dependency -> Realization/Usage
Then, you can create a Component Diagram, and drag and Drop the two components from the model explorer.
Then also drag and drop the Interface Realization :
Once you did that, the Interface "FlightPlanAccess" appears with Lolipop symbol, and it is connected to the FlightPlanner Component.
You can do the exact same thing with the "Usage" of the second component.
The usage will appear with the hook :
I hope this will be helpful,
[Updated on: Mon, 04 March 2013 07:41]
Report message to a moderator
Powered by FUDForum
. Page generated in 0.01942 seconds