CommunicationPath creation helper [message #625062] |
Tue, 02 October 2007 11:53 |
Michael Golubev Messages: 383 Registered: July 2009 |
Senior Member |
|
|
Hello,
In context of Uml2Tools Deployment diagram, I was searching for some helper
code that allows to create CommunicationPath's between two given DeploymentTarget's.
As far as I understand the UML2 spec, the CommunicationPath's are just deployment
specific specializations of the associations,
and the code very similar to the one at the org.eclipse.uml2.uml.internal.operations.TypeOperations
class (createAssociation, at al) would perfectly suit my needs.
However, I have not found any such code, in fact, there are no usages of
the UMLPackage.Literals.COMMUNICATION_PATH across the UML2 implementation
code.
As for now, I have duplicated the code from TypeOperations class in my own
helper, but I would prefer to call some API method for such creation.
Do you think its possible to add the method createCommunicationPath(...)
into the DeploymentTarget interface like its done for Type's and Associations?
Regards,
Michael
|
|
|
Powered by
FUDForum. Page generated in 0.02474 seconds