Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » can't connect two ports using a connector in a composite diagram (composite diagram, ports, connector)
icon5.gif  can't connect two ports using a connector in a composite diagram [message #1038634] Thu, 11 April 2013 01:33 Go to next message
WanQing Cao is currently offline WanQing Cao
Messages: 7
Registered: February 2013
Junior Member
hi,

I use Eclipse Modeling Tools, its Version is Juno Service Release 1, and the Papyrus is 0.9.2 version.

Now I can't connect two ports through a connector.

Appreciate your reply.
Re: can't connect two ports using a connector in a composite diagram [message #1038970 is a reply to message #1038634] Thu, 11 April 2013 11:03 Go to previous messageGo to next message
Dennis D. is currently offline Dennis D.
Messages: 23
Registered: April 2013
Junior Member
you need a containing element, e.g. a class. Then you can connect e.g. the ports of two components which are contained in this class. see http://www.eclipse.org/forums/index.php/t/458052/
icon7.gif  Re: can't connect two ports using a connector in a composite diagram [message #1038995 is a reply to message #1038970] Thu, 11 April 2013 11:43 Go to previous messageGo to next message
WanQing Cao is currently offline WanQing Cao
Messages: 7
Registered: February 2013
Junior Member
thanks for your reply.

and I have already tried it, but that does't work.

Please see the attachment.
  • Attachment: t.JPG
    (Size: 36.04KB, Downloaded 84 times)
Re: can't connect two ports using a connector in a composite diagram [message #1039470 is a reply to message #1038995] Fri, 12 April 2013 03:50 Go to previous messageGo to next message
Dennis D. is currently offline Dennis D.
Messages: 23
Registered: April 2013
Junior Member
Hi,

create a class class2 and two nested classes. Then drag and drop the contained classes in the view to add properties. connect them. That's what works for me.

I can also just connect ports of properties, but not ports of classes or components itself.

once the properties are added by drag&drop, you select them and press F4 to select what elements you want to have shown.

Papyrus 0.9.2.v201302131112

dennis


index.php/fa/14350/0/
  • Attachment: class.png
    (Size: 31.54KB, Downloaded 197 times)
icon14.gif  Re: can't connect two ports using a connector in a composite diagram [message #1039677 is a reply to message #1039470] Fri, 12 April 2013 08:48 Go to previous message
WanQing Cao is currently offline WanQing Cao
Messages: 7
Registered: February 2013
Junior Member
Thank you very much.

It works well.

And do you know how to create a instance in the composite diagram?

Best regards!

wqC.
Previous Topic:I can't import the Standard profile for UML models
Next Topic:How to read a file from papyrus via EMF?
Goto Forum:
  


Current Time: Sat Aug 23 16:01:02 EDT 2014

Powered by FUDForum. Page generated in 0.01760 seconds