Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 330250 - [Profile Diagram] Undo after adding metaclass (model keeps consistent)
Summary: [Profile Diagram] Undo after adding metaclass (model keeps consistent)
Status: CLOSED FIXED
Alias: None
Product: Papyrus
Classification: Modeling
Component: Core (show other bugs)
Version: 0.7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Vincent Lorenzo CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-15 09:29 EST by Vincent Lorenzo CLA
Modified: 2011-07-29 04:57 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Vincent Lorenzo CLA 2010-11-15 09:29:23 EST
Step to reproduce : 
	1/ Adds metaclasses to the profile
	2/ Do a first Undo : the view of the metaclasses are removed
	3/ Do a second Undo : the ElementImport corresponding to these metaclasses are removed
	
It's because we have custom commands for the metaclass creation.

Note : 
	- the model is always consistent.
Comment 1 Vincent Lorenzo CLA 2011-07-29 04:55:59 EDT
Corrected in R5149 : The class CustomSemanticCreateCommand was extended SemanticCreateCommand, which is not an AbstractTransactionalCommand.
Comment 2 Vincent Lorenzo CLA 2011-07-29 04:57:25 EDT
Merge in R5150. This bug can be marked as closed