using uml2tools [message #470789] |
Fri, 18 May 2007 12:19 |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
Hi,
I opened the connector example from new->examples->UMLcomponent
I have some questions:
I have created some components and would like to link them using connctors.
I noticed that if you keep the mouse selector on the connector then two
connector icons appear.
I tried to link them to another connector but this was not successful. Can
you tell me what I'm doing wrong?
I'm assuming that when I change the semantics of the diagram I am also
changing the semantics of the underlying model. Is it possible to
subsequently access this model in code? I'm assuming it's
an EMF model.
Also, is it possible to add information like one-one, one-many, many-many to
the connectors between components?
thx in advance,
regards,
Nick
|
|
|
Re: using uml2tools [message #470790 is a reply to message #470789] |
Fri, 18 May 2007 12:41 |
Philippe Messages: 100 Registered: July 2009 |
Senior Member |
|
|
Hi Nick,
some comments inline...
Nick Kirtley wrote:
> Hi,
>
> I opened the connector example from new->examples->UMLcomponent
>
> I have some questions:
>
> I have created some components and would like to link them using connctors.
> I noticed that if you keep the mouse selector on the connector then two
> connector icons appear.
> I tried to link them to another connector but this was not successful. Can
> you tell me what I'm doing wrong?
I believe that the two icons that appears are the icons that permit to
create attached note and not a connection between component, so it is
why that doesn't work.
By the way, the UMLComponent is, in my opinion, not so much usable yet
due to bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=183754
>
> I'm assuming that when I change the semantics of the diagram I am also
> changing the semantics of the underlying model. Is it possible to
> subsequently access this model in code? I'm assuming it's
> an EMF model.
>
UML2Tools is based on UML2 Metamodel (described in ecore), you can
access the semantic model using the whole UML2 API
http://download.eclipse.org/modeling/mdt/uml2/javadoc/2.1.0/
Another useful link is :
http://dev.eclipse.org/viewcvs/indextools.cgi/uml2-home/docs /articles/Getting_Started_with_UML2/article.html
> Also, is it possible to add information like one-one, one-many, many-many to
> the connectors between components?
>
I don't think that it is possible in Component Diagram,
I suggest you to refer to the UML specification on http://www.uml.org/
to find out more about Components.
> thx in advance,
>
> regards,
>
> Nick
>
regards,
Philippe
|
|
|
Re: using uml2tools [message #470791 is a reply to message #470790] |
Fri, 18 May 2007 14:31 |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
Hi,
thx for your post,
followup:
Ok so they are annotations, but how do I connect two components then?
|
|
|
Re: using uml2tools [message #470796 is a reply to message #470791] |
Tue, 22 May 2007 11:55 |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
Hi,
I still haven't gotten an answer regarding connecting two components. This
should be possible because an component diagrams does exactly that.
However I still haven't been able to achieve this within uml2tools.
thx
Nick
|
|
|
|
|
Re: using uml2tools [message #594136 is a reply to message #470789] |
Fri, 18 May 2007 12:41 |
Philippe Messages: 100 Registered: July 2009 |
Senior Member |
|
|
Hi Nick,
some comments inline...
Nick Kirtley wrote:
> Hi,
>
> I opened the connector example from new->examples->UMLcomponent
>
> I have some questions:
>
> I have created some components and would like to link them using connctors.
> I noticed that if you keep the mouse selector on the connector then two
> connector icons appear.
> I tried to link them to another connector but this was not successful. Can
> you tell me what I'm doing wrong?
I believe that the two icons that appears are the icons that permit to
create attached note and not a connection between component, so it is
why that doesn't work.
By the way, the UMLComponent is, in my opinion, not so much usable yet
due to bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=183754
>
> I'm assuming that when I change the semantics of the diagram I am also
> changing the semantics of the underlying model. Is it possible to
> subsequently access this model in code? I'm assuming it's
> an EMF model.
>
UML2Tools is based on UML2 Metamodel (described in ecore), you can
access the semantic model using the whole UML2 API
http://download.eclipse.org/modeling/mdt/uml2/javadoc/2.1.0/
Another useful link is :
http://dev.eclipse.org/viewcvs/indextools.cgi/uml2-home/docs /articles/Getting_Started_with_UML2/article.html
> Also, is it possible to add information like one-one, one-many, many-many to
> the connectors between components?
>
I don't think that it is possible in Component Diagram,
I suggest you to refer to the UML specification on http://www.uml.org/
to find out more about Components.
> thx in advance,
>
> regards,
>
> Nick
>
regards,
Philippe
|
|
|
Re: using uml2tools [message #594149 is a reply to message #470790] |
Fri, 18 May 2007 14:31 |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
Hi,
thx for your post,
followup:
Ok so they are annotations, but how do I connect two components then?
|
|
|
Re: using uml2tools [message #594203 is a reply to message #470791] |
Tue, 22 May 2007 11:55 |
Eclipse User |
|
|
|
Originally posted by: nickkirtley.gmail.com
Hi,
I still haven't gotten an answer regarding connecting two components. This
should be possible because an component diagrams does exactly that.
However I still haven't been able to achieve this within uml2tools.
thx
Nick
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.02342 seconds