Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » CommunicationPath creation helper
CommunicationPath creation helper [message #625062] Tue, 02 October 2007 11:53
Michael Golubev is currently offline Michael GolubevFriend
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
Previous Topic:Code compatibility
Next Topic:CommunicationPath creation helper
Goto Forum:
  


Current Time: Tue Apr 23 05:29:35 GMT 2024

Powered by FUDForum. Page generated in 0.02474 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top