mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-06-07 17:56:01 +02:00
Set a title for the global variable selection dialog
PR 157171
This commit is contained in:
parent
4c1bc7c05a
commit
dc47d29d6a
2 changed files with 2 additions and 0 deletions
|
@ -59,6 +59,7 @@ 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
|
||||||
ResumeAtLineActionDelegate.Operation_is_not_supported_1=Operation is not supported
|
ResumeAtLineActionDelegate.Operation_is_not_supported_1=Operation is not supported
|
||||||
|
AddGlobalsActionDelegate.title=Global Variables
|
||||||
AddGlobalsActionDelegate.Error(s)_occured_adding_globals_1=Error(s) occured adding globals.
|
AddGlobalsActionDelegate.Error(s)_occured_adding_globals_1=Error(s) occured adding globals.
|
||||||
ManageFunctionBreakpointActionDelegate.Error_1=Error
|
ManageFunctionBreakpointActionDelegate.Error_1=Error
|
||||||
ManageFunctionBreakpointActionDelegate.Operation_failed_1=Operation failed.
|
ManageFunctionBreakpointActionDelegate.Operation_failed_1=Operation failed.
|
||||||
|
|
|
@ -282,6 +282,7 @@ public class AddGlobalsActionDelegate extends ActionDelegate implements IViewAct
|
||||||
if ( info != null && gvm != null ) {
|
if ( info != null && gvm != null ) {
|
||||||
fGlobals = info.getGlobals();
|
fGlobals = info.getGlobals();
|
||||||
ListSelectionDialog dlg = createDialog();
|
ListSelectionDialog dlg = createDialog();
|
||||||
|
dlg.setTitle(ActionMessages.getString("AddGlobalsActionDelegate.title"));
|
||||||
dlg.setInitialSelections( gvm.getDescriptors() );
|
dlg.setInitialSelections( gvm.getDescriptors() );
|
||||||
if ( dlg.open() == Window.OK ) {
|
if ( dlg.open() == Window.OK ) {
|
||||||
List list = Arrays.asList( dlg.getResult() );
|
List list = Arrays.asList( dlg.getResult() );
|
||||||
|
|
Loading…
Add table
Reference in a new issue