Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » Papyrus » How to create diagram elements programatically
How to create diagram elements programatically [message #696191] Wed, 13 July 2011 09:09 Go to previous message
Neslepaks  is currently offline Neslepaks
Messages: 37
Registered: April 2011
Member
Hi,

I would need to create diagram element after triggering an action and I am wondering how to do that.

I have tried to read the simplediagram example code from Papyrus SVN but I don't understand how to do that. I suppose the ComponentCreateCommand could the key to find out the mechanism but I feel it's quite complex.

Is there a simpler (more readable) way to do that?

[Updated on: Wed, 13 July 2011 09:16]

Report message to a moderator

 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic:Class Diagram Operation Return Type Label Display setting is missing
Next Topic:Can I generate code (Objective-C) using Papyrus?
Goto Forum:
  


Current Time: Fri May 24 00:20:57 EDT 2013

Powered by FUDForum. Page generated in 0.02170 seconds