Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » CommunicationPath creation helper
CommunicationPath creation helper [message #476250] Tue, 02 October 2007 11:53 Go to next message
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
Re: CommunicationPath creation helper [message #476251 is a reply to message #476250] Tue, 02 October 2007 14:20 Go to previous messageGo to next message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Michael,

Yes, please log a bugzilla or RFE and it will be added.

The UMLFactory also has a createCommunicationPath() but I think you've found
the best solution by doing something similar to the
TypeOperations.createAssociation.


.... any other convience methods you might like while we are on the topic?


Cheers,

-James.



"Michael Golubev" <michael.golubev@borland.com> wrote in message
news:dcf1453b0d098c9d312b638c931@news.eclipse.org...
> 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
>
>
Re: CommunicationPath creation helper [message #476252 is a reply to message #476251] Tue, 02 October 2007 14:47 Go to previous message
Michael Golubev is currently offline Michael GolubevFriend
Messages: 383
Registered: July 2009
Senior Member
Hello James,

Just sublitted #205188.

Regards,
Michael

> Hi Michael,
>
> Yes, please log a bugzilla or RFE and it will be added.
>
> The UMLFactory also has a createCommunicationPath() but I think you've
> found the best solution by doing something similar to the
> TypeOperations.createAssociation.
>
> ... any other convience methods you might like while we are on the
> topic?
>
> Cheers,
>
> -James.
>
> "Michael Golubev" <michael.golubev@borland.com> wrote in message
> news:dcf1453b0d098c9d312b638c931@news.eclipse.org...
>
>> 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
Re: CommunicationPath creation helper [message #625063 is a reply to message #476250] Tue, 02 October 2007 14:20 Go to previous message
james bruck is currently offline james bruckFriend
Messages: 1724
Registered: July 2009
Senior Member
Hi Michael,

Yes, please log a bugzilla or RFE and it will be added.

The UMLFactory also has a createCommunicationPath() but I think you've found
the best solution by doing something similar to the
TypeOperations.createAssociation.


.... any other convience methods you might like while we are on the topic?


Cheers,

-James.



"Michael Golubev" <michael.golubev@borland.com> wrote in message
news:dcf1453b0d098c9d312b638c931@news.eclipse.org...
> 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
>
>
Re: CommunicationPath creation helper [message #625064 is a reply to message #476251] Tue, 02 October 2007 14:47 Go to previous message
Michael Golubev is currently offline Michael GolubevFriend
Messages: 383
Registered: July 2009
Senior Member
Hello James,

Just sublitted #205188.

Regards,
Michael

> Hi Michael,
>
> Yes, please log a bugzilla or RFE and it will be added.
>
> The UMLFactory also has a createCommunicationPath() but I think you've
> found the best solution by doing something similar to the
> TypeOperations.createAssociation.
>
> ... any other convience methods you might like while we are on the
> topic?
>
> Cheers,
>
> -James.
>
> "Michael Golubev" <michael.golubev@borland.com> wrote in message
> news:dcf1453b0d098c9d312b638c931@news.eclipse.org...
>
>> 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:CommunicationPath creation helper
Next Topic:UML2 -> XML artifacts
Goto Forum:
  


Current Time: Thu Apr 25 17:40:14 GMT 2024

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

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

Back to the top