1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-03 15:15:25 +02:00

[222831] Can't Delete User Actions/Named Types

This commit is contained in:
Kevin Doyle 2008-04-02 21:48:05 +00:00
parent c8f6ec9a0b
commit 3a7bd3eaf7
2 changed files with 10 additions and 4 deletions

View file

@ -11,7 +11,8 @@
* Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry
* David Dykstal (IBM) - [186589] move user types, user actions, and compile commands
* API to the user actions plugin
* David McKnight (IBM) - [220547] [api][breaking] SimpleSystemMessage needs to specify a message id and some messages should be shared
* David McKnight (IBM) - [220547] [api][breaking] SimpleSystemMessage needs to specify a message id and some messages should be shared
* Kevin Doyle (IBM) - [222831] Can't Delete User Actions/Named Types
*******************************************************************************/
package org.eclipse.rse.internal.useractions.ui.uda;
@ -402,9 +403,11 @@ public class SystemUDBaseTreeView extends TreeViewer implements IMenuListener, I
* Return message for delete confirmation
*/
protected SystemMessage getDeleteConfirmationMessage() {
return new SimpleSystemMessage(Activator.PLUGIN_ID,
SystemMessage msg = new SimpleSystemMessage(Activator.PLUGIN_ID,
IUserActionsMessageIds.MSG_CONFIRM_DELETE_USERACTION,
IStatus.ERROR, UserActionsResources.MSG_CONFIRM_DELETE_USERACTION, UserActionsResources.MSG_CONFIRM_DELETE_USERTYPE_DETAILS);
msg.setIndicator(SystemMessage.INQUIRY);
return msg;
}
/**

View file

@ -10,7 +10,8 @@
* Martin Oberhuber (Wind River) - [168975] Move RSE Events API to Core
* David Dykstal (IBM) - [186589] move user types, user actions, and compile commands
* API to the user actions plugin
* David McKnight (IBM) - [220547] [api][breaking] SimpleSystemMessage needs to specify a message id and some messages should be shared
* David McKnight (IBM) - [220547] [api][breaking] SimpleSystemMessage needs to specify a message id and some messages should be shared
* Kevin Doyle (IBM) - [222831] Can't Delete User Actions/Named Types
*******************************************************************************/
package org.eclipse.rse.internal.useractions.ui.uda;
@ -78,9 +79,11 @@ public class SystemUDTypeTreeView extends SystemUDBaseTreeView {
* Return message for delete confirmation
*/
protected SystemMessage getDeleteConfirmationMessage() {
return new SimpleSystemMessage(Activator.PLUGIN_ID,
SystemMessage msg = new SimpleSystemMessage(Activator.PLUGIN_ID,
IUserActionsMessageIds.MSG_CONFIRM_DELETE_USERTYPE,
IStatus.WARNING, UserActionsResources.MSG_CONFIRM_DELETE_USERTYPE, UserActionsResources.MSG_CONFIRM_DELETE_USERTYPE_DETAILS);
msg.setIndicator(SystemMessage.INQUIRY);
return msg;
}
/**