Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Modeling » UML2 » Copy Element With Applied Stereotypes
Copy Element With Applied Stereotypes [message #626594] Tue, 20 May 2008 14:27
Tim Myer is currently offline Tim Myer
Messages: 80
Registered: July 2009
Member
I have a custom UML Editor that uses the I am using the EMF-generated
UML model from the org.eclipse.uml2.uml plug-in. As a starting point, I
used the generated UML Editor and Item providers, but have modified them
slightly. My question is this: how can I copy a UML Element along with
any Stereotype applications (and their corresponding Property values)?
I have tried overriding the ItemProvider#createCopyCommand, and I have
tried overriding the CopyAction#createCommand to put the Stereotype
application into the input selections, but neither approach is working
for me. Any thoughts would be helpful.
Thanks.
-------Tim Myer------
Previous Topic:Editor shows api generated import twice
Next Topic:apply stereotype problem with static profile
Goto Forum:
  


Current Time: Thu Apr 17 00:09:51 EDT 2014

Powered by FUDForum. Page generated in 0.01547 seconds