1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-06-08 18:26:01 +02:00

Bug 94139: User-defined register groups. Externalized strings for the "Restore Default Register Groups" action.

This commit is contained in:
Mikhail Khodjaiants 2005-06-09 20:45:07 +00:00
parent 10213ebf8a
commit fd7e050fc1
3 changed files with 11 additions and 3 deletions

View file

@ -1,6 +1,12 @@
2005-06-09 Mikhail Khodjaiants 2005-06-09 Mikhail Khodjaiants
Bug 94139: User-defined register groups. Bug 94139: User-defined register groups.
Support fo the "Restore Default Register Groups" action. Externalized strings for the "Restore Default Register Groups" action.
* RestoreDefaultRegisterGroupsActionDelegate.java
* ActionMessages.properties
2005-06-09 Mikhail Khodjaiants
Bug 94139: User-defined register groups.
Support for the "Restore Default Register Groups" action.
+ RestoreDefaultRegisterGroupsActionDelegate.java + RestoreDefaultRegisterGroupsActionDelegate.java
* plugin.properties * plugin.properties
* plugin.xml * plugin.xml

View file

@ -53,6 +53,8 @@ ResumeAtLineActionDelegate.0=Resume At Li&ne
ResumeAtLineActionDelegate.1=Error ResumeAtLineActionDelegate.1=Error
ResumeAtLineActionDelegate.2=Resume at line failed ResumeAtLineActionDelegate.2=Resume at line failed
RestoreDefaultTypeActionDelegate.0=Unable to restore the default type. RestoreDefaultTypeActionDelegate.0=Unable to restore the default type.
RestoreDefaultRegisterGroupsActionDelegate.0=Error
RestoreDefaultRegisterGroupsActionDelegate.1=Error(s) occurred restoring default register groups.
ResumeAtLineActionDelegate.Operation_failed_1=Operation failed. ResumeAtLineActionDelegate.Operation_failed_1=Operation failed.
ResumeAtLineActionDelegate.Missing_document=Missing document ResumeAtLineActionDelegate.Missing_document=Missing document
ResumeAtLineActionDelegate.Empty_editor_1=Empty editor ResumeAtLineActionDelegate.Empty_editor_1=Empty editor

View file

@ -22,11 +22,11 @@ import org.eclipse.jface.viewers.StructuredSelection;
public class RestoreDefaultRegisterGroupsActionDelegate extends AbstractViewActionDelegate { public class RestoreDefaultRegisterGroupsActionDelegate extends AbstractViewActionDelegate {
protected String getErrorDialogTitle() { protected String getErrorDialogTitle() {
return "Error"; return ActionMessages.getString( "RestoreDefaultRegisterGroupsActionDelegate.0" ); //$NON-NLS-1$
} }
protected String getErrorDialogMessage() { protected String getErrorDialogMessage() {
return "Error(s) occurred restoring default register groups."; return ActionMessages.getString( "RestoreDefaultRegisterGroupsActionDelegate.1" ); //$NON-NLS-1$
} }
protected void doAction() throws DebugException { protected void doAction() throws DebugException {