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

Bug 356255

Summary: [EMF Runtime Extensions] Qualified action texts being displayed in undo menu after creation of new children or siblings
Product: [Automotive] Sphinx Reporter: Stephan Eberle <stephaneberle9>
Component: CoreAssignee: Stephan Eberle <stephaneberle9>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: ali.akar82, idydieng
Version: 0.7.0   
Target Milestone: 0.7.0   
Hardware: All   
OS: All   
Whiteboard:

Description Stephan Eberle CLA 2011-08-30 18:14:03 EDT
= Steps to reproduce =
* Create a new model element on a parent element using the '''New Child''' submenu of the context menu in Sphinx Model Explorer or a Sphinx-based form editor
* Make sure that the model element to be created is selected from a creation submenu inside the '''New Child''' submenu (e.g., New Child > Components > Component when the parent element is a Hummingbird 2.0 Application)
* Expand the Edit menu in the main menu bar
 
= Expected behavior =
* The undo action text is '''Undo New''' followed by the simple create child action text (e.g., '''Undo New Component''' for above mentioned Hummingbird 2.0 Component)

= Actual behavior =
* The undo action text is '''Undo New''' followed by the qualified create child action text (e.g., '''Undo New Components | Component''' for above mentioned Hummingbird 2.0 Component)
Comment 1 Stephan Eberle CLA 2011-08-30 19:18:46 EDT
Fixed by improving ExtendedItemProviderAdapter#getCreateChildText() and overriding ExtendedCreateChildCommand#getText().
Comment 2 Balazs Grill CLA 2021-07-14 02:16:19 EDT
Mass-closing Resolved tickets