Skip to main content



      Home
Home » Modeling » Papyrus » creating composite diagram
creating composite diagram [message #1016843] Thu, 07 March 2013 16:10 Go to next message
Eclipse UserFriend
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 11:53 Go to previous messageGo to next message
Eclipse UserFriend
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] by 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
Eclipse UserFriend
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: Tue Jul 22 15:22:46 EDT 2025

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

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

Back to the top