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 21:10 Go to next message
Jeni Martin is currently offline Jeni MartinFriend
Messages: 28
Registered: November 2012
Junior Member
Hi,

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 16:53 Go to previous messageGo to next message
Simon Schwichtenberg is currently offline Simon SchwichtenbergFriend
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 16:55]

Report message to a moderator

icon7.gif  Re: creating composite diagram [message #1038174 is a reply to message #1017125] Wed, 10 April 2013 13:57 Go to previous message
WanQing Cao is currently offline WanQing CaoFriend
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: Mon Nov 24 04:17:11 GMT 2014

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

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