Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 369197

Summary: [Table] Create new element in the Table Editor toolbar executes 2 command instead of 1
Product: z_Archived Reporter: Vincent Lorenzo <vincent.lorenzo>
Component: EMF-FacetAssignee: Project Inbox <emft.facet-inbox>
Status: NEW --- QA Contact:
Severity: normal    
Priority: P5 CC: alain.leguennec, gdupe
Version: unspecifiedFlags: gdupe: kepler+
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Vincent Lorenzo CLA 2012-01-20 05:39:09 EST
When you create a new element from the toolbar, 2 commands are executed, so you need to do 2 undo to get the initial state.
Steps to reproduce, using the EMF-Facet example Open Ecore Tabular Editor : 
	1/ Create an Ecore Model
	2/ Select the root package and select in the popup menu, the action Open Ecore Tabular Editor
	3/ Create an EClass using the action Create New Element in the toolbar
	4/ Do 1 Undo : the EClass is removed from the table
	5/ Do 1 Undo : the EClass is removed from the Ecore Model