Plugin design in Papyrus [message #1690780] |
Tue, 31 March 2015 08:37 |
Tristan Faure Messages: 460 Registered: July 2009 |
Senior Member |
|
|
Hello
I want to do some plugin design in Papyrus Luna
First I tried the java refactor but it did not work with components.
Then
I created in a component diagram components corresponding to my plugins.
I created Interfaces inside my plugin and some classes.
First problem :
Inside inner class diagram it seems impossible to create Interface realization between Interfaces and classes.
My question is what is the best way to show that a plugin required an interface and the second one provide it. I know UML provided and required interfaces but I did not succeed to model them in Papyrus. Even using the "manage interfaces" action
|
|
|
Re: Plugin design in Papyrus [message #1691017 is a reply to message #1690780] |
Wed, 01 April 2015 15:15 |
Camille Letavernier Messages: 952 Registered: February 2011 |
Senior Member |
|
|
Hi Tristan,
Quote:First problem :
Inside inner class diagram it seems impossible to create Interface realization between Interfaces and classes.
I guess the Inner Class Diagram is over-filtered compared to standard Class Diagram again. That can easily be fixed
Quote:My question is what is the best way to show that a plugin required an interface and the second one provide it. I know UML provided and required interfaces but I did not succeed to model them in Papyrus. Even using the "manage interfaces" action
Manage Interfaces (Or provided/required from the properties view) should work if you type your Port with a Class (Which, according to the specification, gives the maximum flexibility for deriving Provided/Required interfaces of the Port). I'm not sure if the edition of Provided/Required interfaces has been added in Luna or in Mars. If it's not available in Luna, then you should rely on the Manage Interfaces context menu (After typing the Port with a Class)
However, Papyrus doesn't support the Ball & Socket notation
Regards,
Camille
Camille Letavernier
|
|
|
Powered by
FUDForum. Page generated in 0.03059 seconds