Skip to main content



      Home
Home » Eclipse Projects » Papyrus for Real Time » Create RTMessageSet?
Create RTMessageSet? [message #1741027] Mon, 22 August 2016 08:42 Go to next message
Eclipse UserFriend
Hi,

Is the a method for creating RTMessageSets programmatically?

I was hoping for org.eclipse.papyrusrt.umlrt.core.utils.ProtocolContainerUtils but no luck there. Anywhere else I should look?

/Patrik
Re: Create RTMessageSet? [message #1742725 is a reply to message #1741027] Tue, 06 September 2016 19:08 Go to previous message
Eclipse UserFriend
Hi, Patrik,

The UMLRTElementTypesEnumerator class has an RT_MESSAGE_SET type that you should be able to instantiate by issuing an CreateElementRequest to the edit-helper of an appropriate container element in the model (this would be the protocol's <<ProtocolContainer>> package). The resulting command should configure a new message-set instance with the required stereotypes and structure.

You can see how this works in the org.eclipse.papyrusrt.umlrt.core.tests.creation.CreateElementTest class (these tests create a variety of things).

HTH,

Christian
Previous Topic:Import RSA profile from cli/CI?
Next Topic:getting incoming/outcoming events of a protocol object in Papyrus-RT
Goto Forum:
  


Current Time: Wed May 21 10:21:51 EDT 2025

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

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

Back to the top