mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-16 12:45:41 +02:00
[222831] Can't Delete User Actions/Named Types
This commit is contained in:
parent
c8f6ec9a0b
commit
3a7bd3eaf7
2 changed files with 10 additions and 4 deletions
|
@ -11,7 +11,8 @@
|
||||||
* Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry
|
* Martin Oberhuber (Wind River) - [186773] split ISystemRegistryUI from ISystemRegistry
|
||||||
* David Dykstal (IBM) - [186589] move user types, user actions, and compile commands
|
* David Dykstal (IBM) - [186589] move user types, user actions, and compile commands
|
||||||
* API to the user actions plugin
|
* 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;
|
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
|
* Return message for delete confirmation
|
||||||
*/
|
*/
|
||||||
protected SystemMessage getDeleteConfirmationMessage() {
|
protected SystemMessage getDeleteConfirmationMessage() {
|
||||||
return new SimpleSystemMessage(Activator.PLUGIN_ID,
|
SystemMessage msg = new SimpleSystemMessage(Activator.PLUGIN_ID,
|
||||||
IUserActionsMessageIds.MSG_CONFIRM_DELETE_USERACTION,
|
IUserActionsMessageIds.MSG_CONFIRM_DELETE_USERACTION,
|
||||||
IStatus.ERROR, UserActionsResources.MSG_CONFIRM_DELETE_USERACTION, UserActionsResources.MSG_CONFIRM_DELETE_USERTYPE_DETAILS);
|
IStatus.ERROR, UserActionsResources.MSG_CONFIRM_DELETE_USERACTION, UserActionsResources.MSG_CONFIRM_DELETE_USERTYPE_DETAILS);
|
||||||
|
msg.setIndicator(SystemMessage.INQUIRY);
|
||||||
|
return msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -10,7 +10,8 @@
|
||||||
* Martin Oberhuber (Wind River) - [168975] Move RSE Events API to Core
|
* Martin Oberhuber (Wind River) - [168975] Move RSE Events API to Core
|
||||||
* David Dykstal (IBM) - [186589] move user types, user actions, and compile commands
|
* David Dykstal (IBM) - [186589] move user types, user actions, and compile commands
|
||||||
* API to the user actions plugin
|
* 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;
|
package org.eclipse.rse.internal.useractions.ui.uda;
|
||||||
|
|
||||||
|
@ -78,9 +79,11 @@ public class SystemUDTypeTreeView extends SystemUDBaseTreeView {
|
||||||
* Return message for delete confirmation
|
* Return message for delete confirmation
|
||||||
*/
|
*/
|
||||||
protected SystemMessage getDeleteConfirmationMessage() {
|
protected SystemMessage getDeleteConfirmationMessage() {
|
||||||
return new SimpleSystemMessage(Activator.PLUGIN_ID,
|
SystemMessage msg = new SimpleSystemMessage(Activator.PLUGIN_ID,
|
||||||
IUserActionsMessageIds.MSG_CONFIRM_DELETE_USERTYPE,
|
IUserActionsMessageIds.MSG_CONFIRM_DELETE_USERTYPE,
|
||||||
IStatus.WARNING, UserActionsResources.MSG_CONFIRM_DELETE_USERTYPE, UserActionsResources.MSG_CONFIRM_DELETE_USERTYPE_DETAILS);
|
IStatus.WARNING, UserActionsResources.MSG_CONFIRM_DELETE_USERTYPE, UserActionsResources.MSG_CONFIRM_DELETE_USERTYPE_DETAILS);
|
||||||
|
msg.setIndicator(SystemMessage.INQUIRY);
|
||||||
|
return msg;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Add table
Reference in a new issue