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

Bug 2738

Summary: [Contributions] Unable to change the label of the Delete menu (1GITII5)
Product: [Eclipse Project] Platform Reporter: Greg Adams <greg_adams>
Component: UIAssignee: Platform UI Triaged <platform-ui-triaged>
Status: CLOSED WONTFIX QA Contact:
Severity: enhancement    
Priority: P5 CC: mistria
Version: 2.0Keywords: helpwanted
Target Milestone: ---   
Hardware: All   
OS: All   
Whiteboard:

Description Greg Adams CLA 2001-10-10 22:42:33 EDT
ID:   RATLC00012194   Priority: 2
Headline:   Unable to change the label of the Delete menu 

Description:
The label of Delete menu needs to be changed.

In Eclipse, this requires the global Delete action to be a LabelRetargetAction (instead of
RetargetAction in R0.9).


NOTES:

[CL (8/27/01 9:32:52 AM)] In Rose, there are two types of Delete commands that can be 
	performed on a diagram -- Delete from Model and Delete from Diagram.  We want to be able to 
	rename Delete to be one of them, and add the other one ourselves.

GDA(8/27/01 9:32:49 AM)> Why not just use delete for delete in diagram since this is likely what a user would expect when they are working in the diagram.
This is unlikely to be visited before 1.0 so the alternative probably makes sense.
Comment 1 DJ Houghton CLA 2001-10-29 19:13:09 EST
PRODUCT VERSION:
0.9
@RATL-0.9

Comment 2 Kevin Haaland CLA 2002-02-07 20:13:18 EST
Defer for 2.0
Comment 3 Randy Giffen CLA 2002-08-08 15:24:57 EDT
Reopen for investigation
Comment 4 Paul E. Keyser CLA 2003-04-14 15:51:31 EDT
1) The ability to change the Delete-action's label is needed not solely for 
Rose, but in almost any editor (other than a text-editor) that any plugin might 
contain. 

2) It would also be good to be able to change or remove the key-binding 
programmatically (sometimes "Delete" is in use in the editor to mean one thing, 
and the "global" Delete-action in the editor-menu is intended to mean another). 

SEE: Simon A.'s posting of 2003 April 14, 11:08 AM on the thread: "[Howto] 
attach/hook/whatever our Action to existing main-menu item?"
Comment 5 Chris McLaren CLA 2005-12-12 16:57:28 EST
Reassigning to Platform-UI-Inbox (I left IBM 18 months ago..)
Comment 6 Michael Van Meekeren CLA 2006-04-21 13:56:39 EDT
Moving Dougs bugs
Comment 7 Paul Webster CLA 2007-04-05 19:00:54 EDT
Assigning to component owner
PW
Comment 8 Mickael Istria CLA 2016-11-10 10:49:23 EST
It seems to me that the use-case here would be better solved by not reusing the generic Delete action and by creating 2 specific Delete actions. The Platform should have all the necessary things to prevent an unrelevant "Delete" command to be shown.