| types of interface [message #987201] |
Sat, 24 November 2012 07:42  |
Laya eng Messages: 40 Registered: October 2012 |
Member |
|
|
hello everyone
i want to build provided interface and required interface
i select interface from Palette but how to make this interface provided or required?
Best Regards
Laya
|
|
|
|
|
|
|
|
|
| Re: types of interface [message #987702 is a reply to message #987699] |
Tue, 27 November 2012 11:31   |
Camille Letavernier Messages: 225 Registered: February 2011 |
Senior Member |
|
|
Hello Laya,
I've checked the handler test, and it's a little bit restrictive. The menu only appears when you right-click on a Graphical port (From the diagram). It won't be available in the ModelExplorer, nor on the port's label from the diagram.
Regards,
Camille
[Updated on: Tue, 27 November 2012 11:31] Report message to a moderator
|
|
|
|
|
|
| Re: types of interface [message #988805 is a reply to message #988616] |
Mon, 03 December 2012 04:58  |
Camille Letavernier Messages: 225 Registered: February 2011 |
Senior Member |
|
|
Hello Laya,
To manage ports required/provided interfaces, here are the steps to follow:
- Create a Port on either a Component (Component diagram) or a Class (Composite structure diagram)
- Set this Port's type to either a Class or an Interface
- Right click on the graphical representation of the Port, and select "Manage interfaces"
- Select the interfaces this Port provides (i.e. implements) and requires (i.e. depends on). Note that when the Port is typed with an Interface, this interface is automatically "Provided", and you cannot add new Provided interfaces.
So, two things to remember:
- Provided/Required are derived properties. They are derived from the type of the Port. So the Port needs a type before you can use "Manage interfaces"
- The "Manage interfaces" menu is only available on diagrams, for Composite Structure and Component diagrams. You have to right click on the graphical representation of the Port. This is a tool limitation which will need to be fixed.
Regards,
Camille
|
|
|
Powered by
FUDForum. Page generated in 0.03869 seconds