Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » creating composite diagram
creating composite diagram [message #1016843] Thu, 07 March 2013 16:10 Go to next message
Jeni Martin is currently offline Jeni Martin
Messages: 28
Registered: November 2012
Junior Member

I wanted to create a simple composite diagram in Papyrus. I created a class C1 with a port and the same with another class with a port. then tried to connect two ports by connector. but cannot connect two ports. what is the problem?

Thanks a alot
Re: creating composite diagram [message #1017125 is a reply to message #1016843] Sat, 09 March 2013 11:53 Go to previous messageGo to next message
Goood Guy is currently offline Goood Guy
Messages: 126
Registered: September 2011
Senior Member
I think what is missing for you is a surrounding class, i.e. the class you want to specify the internal structure for.

This is how it works:
* create new composite structure diagram
* create new class "topclass"
* create a new class "innerclass" next to it.
* drag and drop the "innerclass" from the model explorer into topclass. Now topclass has a part that has the name "innerclass1" and has the type innerclass.
* do that for a second inner class "secondinnerclass"
* add ports to both parts (innerclass1, secondinnerclass1)
* connect them with a connector

[Updated on: Sat, 09 March 2013 11:55]

Report message to a moderator

icon7.gif  Re: creating composite diagram [message #1038174 is a reply to message #1017125] Wed, 10 April 2013 09:57 Go to previous message
WanQing Cao is currently offline WanQing Cao
Messages: 7
Registered: February 2013
Junior Member
I try it, howerver, it doesn't work~~
could you tell me your version?
thanks very much.
Previous Topic:Profile for OWL and RDF
Next Topic:I can't import the Standard profile for UML models
Goto Forum:

Current Time: Fri Aug 22 21:53:26 EDT 2014

Powered by FUDForum. Page generated in 0.09428 seconds