Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » How to add a SendOperationEvent to a Package?
How to add a SendOperationEvent to a Package? [message #623936] Mon, 23 July 2007 11:40
Jan Reimann is currently offline Jan ReimannFriend
Messages: 90
Registered: July 2009
Member
Hello NG,
I want to add a SendOperationEvent to a Package. Thought it is trivial
but it isn't :( Well now I think I am mixing up "owned" and "owning". At
first I thought it's just SendOperationEvent#setPackage(Package) but it
wasn't. So I tried this:

event.allOwnedElements().add(eventsPack);
event.allOwningPackages().add(eventsPack);
event.getOwnedElements().add(eventsPack);

But I had no success. Do you have some ideas?

greets
J.R.
Previous Topic:Package merge question
Next Topic:Class diagram/stereotypes problem
Goto Forum:
  


Current Time: Fri Apr 19 10:52:36 GMT 2024

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

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

Back to the top