1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-23 14:42:11 +02:00

Applied patch from Tanya Wolff.

This commit is contained in:
Mikhail Khodjaiants 2004-03-17 17:15:25 +00:00
parent 86875f7871
commit 8cf78bf7d7
17 changed files with 109 additions and 64 deletions

View file

@ -1,3 +1,11 @@
2004-03-11 Tanya Wolff
Externalized remaining strings
* debug.internal.ui
* debug.internal.ui.actions
* debug.internal.ui.editors
* debug.ui
* debug.ui.sourcelookup
2004-03-11 Tanya Wolff
Fix for missing resource in
* LoadSymbolsForAllAction.java

View file

@ -386,7 +386,7 @@ public class CDTDebugModelPresentation extends LabelProvider
{
if ( ((ITerminate)element).isTerminated() )
{
label.insert( 0, "<terminated>" );
label.insert( 0, CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.terminated") ); //$NON-NLS-1$
return label.toString();
}
}
@ -394,7 +394,7 @@ public class CDTDebugModelPresentation extends LabelProvider
{
if ( ((IDisconnect)element).isDisconnected() )
{
label.insert( 0, "<disconnected>" );
label.insert( 0, CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.disconnected") ); //$NON-NLS-1$
return label.toString();
}
}
@ -406,7 +406,7 @@ public class CDTDebugModelPresentation extends LabelProvider
}
catch( DebugException e )
{
return "<not_responding>";
return CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.not_responding"); //$NON-NLS-1$
}
catch( CoreException e )
{
@ -440,21 +440,22 @@ public class CDTDebugModelPresentation extends LabelProvider
case IState.EXITED:
{
Object info = state.getCurrentStateInfo();
String label = target.getName() + " (Exited";
String label = target.getName() + CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.Exited"); //$NON-NLS-1$
if ( info != null && info instanceof ICDISignalExitInfo)
{
ICDISignalExitInfo sigInfo = (ICDISignalExitInfo)info;
label += MessageFormat.format( ": Signal ''{0}'' received. Description: {1}.",
label += CDebugUIPlugin.getFormattedString("CDTDebugModelPresentation.Signal_received_Description", //$NON-NLS-1$//$NON-NLS-2$
new String[] { sigInfo.getName(), sigInfo.getDescription() } );
}
else if ( info != null && info instanceof ICDIExitInfo )
{
label += ". Exit code = " + ((ICDIExitInfo)info).getCode();
label += CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.Exit_code") + ((ICDIExitInfo)info).getCode(); //$NON-NLS-1$//$NON-NLS-2$
}
return label + ")"; //$NON-NLS-1$
return label + CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.closeBracket"); //$NON-NLS-1$
}
case IState.SUSPENDED:
return target.getName() + " (Suspended)";
return target.getName() + CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.Suspended") + //$NON-NLS-1$
CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.closeBracket"); //$NON-NLS-1$
}
}
return target.getName();
@ -462,7 +463,7 @@ public class CDTDebugModelPresentation extends LabelProvider
protected String getThreadText( IThread thread, boolean qualified ) throws DebugException
{
String threadName = getFormattedString( "Thread [{0}]", thread.getName() );
String threadName = getFormattedString( CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.Thread_name"), thread.getName() ); //$NON-NLS-1$
ICDebugTargetType targetType = (ICDebugTargetType)thread.getDebugTarget().getAdapter( ICDebugTargetType.class );
int type = ( targetType != null ) ? targetType.getTargetType() : ICDebugTargetType.TARGET_TYPE_UNKNOWN;
if ( type == ICDebugTargetType.TARGET_TYPE_LOCAL_CORE_DUMP )
@ -471,15 +472,15 @@ public class CDTDebugModelPresentation extends LabelProvider
}
if ( thread.isTerminated() )
{
return getFormattedString( "{0} (Terminated)", threadName );
return CDebugUIPlugin.getFormattedString("internal.ui.CDTDebugModelPresentation.threadName_Terminated", threadName ); //$NON-NLS-1$
}
if ( thread.isStepping() )
{
return getFormattedString( "{0} (Stepping)", threadName );
return CDebugUIPlugin.getFormattedString("internal.ui.CDTDebugModelPresentation.threadName_Stepping", threadName ); //$NON-NLS-1$
}
if ( !thread.isSuspended() )
{
return getFormattedString( "{0} (Running)", threadName );
return CDebugUIPlugin.getFormattedString("internal.ui.CDTDebugModelPresentation.threadName_Running", threadName ); //$NON-NLS-1$
}
if ( thread.isSuspended() )
{
@ -491,33 +492,34 @@ public class CDTDebugModelPresentation extends LabelProvider
{
ICDISignal signal = ((ICDISignalReceived)info).getSignal();
String label = threadName +
MessageFormat.format( " (Suspended: Signal ''{0}'' received. Description: {1})",
CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.Suspended") + //$NON-NLS-1$
CDebugUIPlugin.getFormattedString("CDTDebugModelPresentation.Signal_received_Description", //$NON-NLS-1$
new String[] { signal.getName(), signal.getDescription() } );
return label;
}
if ( info != null && info instanceof ICDIWatchpointTrigger )
{
String label = threadName +
MessageFormat.format( " (Suspended: Watchpoint triggered. Old value: ''{0}''. New value: ''{1}'')",
CDebugUIPlugin.getFormattedString("CDTDebugModelPresentation.Suspended_Watchpoint_triggered_Old_New", //$NON-NLS-1$
new String[] { ((ICDIWatchpointTrigger)info).getOldValue(),
((ICDIWatchpointTrigger)info).getNewValue() } );
return label;
}
if ( info != null && info instanceof ICDIWatchpointScope )
{
return threadName + " (Suspended: Watchpoint is out of scope)";
return threadName + CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.Suspended_Watchpoint_out_of_scope"); //$NON-NLS-1$
}
if ( info != null && info instanceof ICDIBreakpointHit )
{
return threadName + " (Suspended: Breakpoint hit)";
return threadName + CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.Suspended_Breakpoint_hit"); //$NON-NLS-1$
}
if ( info != null && info instanceof ICDISharedLibraryEvent )
{
return threadName + " (Suspended: Shared library event)";
return threadName + CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.Suspended_Shared_lib_event"); //$NON-NLS-1$
}
}
}
return getFormattedString( "Thread [{0}] (Suspended)", thread.getName() );
return getFormattedString( CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.Thread_threadName_suspended"), thread.getName() ); //$NON-NLS-1$
}
protected String getStackFrameText( IStackFrame stackFrame, boolean qualified ) throws DebugException
@ -536,15 +538,15 @@ public class CDTDebugModelPresentation extends LabelProvider
if ( function.length() > 0 )
{
label.append( function );
label.append( "() " );
label.append( "() " ); //$NON-NLS-1$
if ( info.getFile() != null )
{
IPath path = new Path( info.getFile() );
if ( !path.isEmpty() )
{
label.append( "at " );
label.append( CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.at")+" " ); //$NON-NLS-1$ //$NON-NLS-2$
label.append( ( qualified ? path.toOSString() : path.lastSegment() ) );
label.append( ":" );
label.append( ":" ); //$NON-NLS-1$
if ( info.getFrameLineNumber() != 0 )
label.append( info.getFrameLineNumber() );
}
@ -552,7 +554,7 @@ public class CDTDebugModelPresentation extends LabelProvider
}
}
if ( isEmpty( function ) )
label.append( "<symbol is not available>" );
label.append( CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.Symbol_not_available") ); //$NON-NLS-1$
return label.toString();
}
return ( stackFrame.getAdapter( IDummyStackFrame.class ) != null ) ?
@ -598,7 +600,7 @@ public class CDTDebugModelPresentation extends LabelProvider
}
}
if ( !((ICVariable)var).isEnabled() )
label.append( "<disabled> " );
label.append( CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.disabled") ); //$NON-NLS-1$
String name = var.getName();
if ( name != null )
label.append( name.trim() );
@ -609,27 +611,27 @@ public class CDTDebugModelPresentation extends LabelProvider
if ( type != null && type.isCharacter() )
{
if ( valueString.length() == 0 )
valueString = ".";
label.append( "= " );
valueString = "."; //$NON-NLS-1$
label.append( "= " ); //$NON-NLS-1$
label.append( valueString );
}
else if ( type != null && type.isFloatingPointType() )
{
Number floatingPointValue = CDebugUtils.getFloatingPointValue( (ICValue)value );
if ( CDebugUtils.isNaN( floatingPointValue ) )
valueString = "NAN";
valueString = "NAN"; //$NON-NLS-1$
if ( CDebugUtils.isPositiveInfinity( floatingPointValue ) )
valueString = "Infinity";
valueString = CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.Infinity"); //$NON-NLS-1$
if ( CDebugUtils.isNegativeInfinity( floatingPointValue ) )
valueString = "-Infinity";
label.append( "= " );
valueString = "-"+CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.Infinity"); //$NON-NLS-1$ //$NON-NLS-2$
label.append( "= " ); //$NON-NLS-1$
label.append( valueString );
}
else if ( type == null || ( !type.isArray() && !type.isStructure() ) )
{
if ( valueString.length() > 0 )
{
label.append( "= " );
label.append( "= " ); //$NON-NLS-1$
label.append( valueString );
}
}
@ -798,7 +800,7 @@ public class CDTDebugModelPresentation extends LabelProvider
if ( lineNumber > 0 )
{
label.append( " [" ); //$NON-NLS-1$
label.append( "line:" );
label.append( CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.line") ); //$NON-NLS-1$
label.append( ' ' );
label.append( lineNumber );
label.append( ']' );
@ -811,7 +813,7 @@ public class CDTDebugModelPresentation extends LabelProvider
try
{
long address = Long.parseLong( breakpoint.getAddress() );
label.append( " [address: " );
label.append( CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.address") ); //$NON-NLS-1$
label.append( CDebugUtils.toHexAddressString( address ) );
label.append( ']' );
}
@ -827,7 +829,7 @@ public class CDTDebugModelPresentation extends LabelProvider
if ( function != null && function.trim().length() > 0 )
{
label.append( " [" ); //$NON-NLS-1$
label.append( "function:" );
label.append( CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.function") ); //$NON-NLS-1$
label.append( ' ' );
label.append( function.trim() );
label.append( ']' );
@ -841,7 +843,7 @@ public class CDTDebugModelPresentation extends LabelProvider
if ( ignoreCount > 0 )
{
label.append( " [" ); //$NON-NLS-1$
label.append( "ignore count:" ); //$NON-NLS-1$
label.append( CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.ignore_count") ); //$NON-NLS-1$
label.append( ' ' );
label.append( ignoreCount );
label.append( ']' );
@ -854,7 +856,9 @@ public class CDTDebugModelPresentation extends LabelProvider
String condition = breakpoint.getCondition();
if ( condition != null && condition.length() > 0 )
{
buffer.append( " if " );
buffer.append(' ');
buffer.append( CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.if") ); //$NON-NLS-1$
buffer.append(' ');
buffer.append( condition );
}
}
@ -864,7 +868,9 @@ public class CDTDebugModelPresentation extends LabelProvider
String expression = watchpoint.getExpression();
if ( expression != null && expression.length() > 0 )
{
label.append( " at \'" );
label.append(' ');
label.append( CDebugUIPlugin.getResourceString("internal.ui.CDTDebugModelPresentation.at") ); //$NON-NLS-1$
label.append( '\'' );
label.append( expression );
label.append( '\'' );
}

View file

@ -63,7 +63,7 @@ public class CDebugImageDescriptorRegistry
if ( result != null )
return result;
Assert.isTrue( fDisplay == CDebugUIPlugin.getStandardDisplay(), "Allocating image for wrong display" );
Assert.isTrue( fDisplay == CDebugUIPlugin.getStandardDisplay(), CDebugUIPlugin.getResourceString("internal.ui.CDebugImageDescriptorRegistry.Allocating_image_for_wrong_display") ); //$NON-NLS-1$
result = descriptor.createImage();
if ( result != null )
fRegistry.put( descriptor, result );

View file

@ -215,7 +215,7 @@ public class AddWatchpointActionDelegate extends ActionDelegate
expression,
true,
0,
"",
"", //$NON-NLS-1$
true );
}
catch( CoreException ce )

View file

@ -312,7 +312,7 @@ public class CBreakpointPreferencePage extends FieldEditorPreferencePage
else if ( breakpoint instanceof ICAddressBreakpoint )
{
ICAddressBreakpoint abrkpt = (ICAddressBreakpoint)breakpoint;
String address = "Not available";
String address = CDebugUIPlugin.getResourceString("internal.ui.actions.CBreakpointPreferencePage.Not_available"); //$NON-NLS-1$
try
{
address = CDebugUtils.toHexAddressString( Long.parseLong( abrkpt.getAddress() ) );

View file

@ -184,7 +184,7 @@ public class CastToArrayActionDelegate extends ActionDelegate implements IObject
}
catch( NumberFormatException e )
{
message = CDebugUIPlugin.getResourceString("internal.ui.actions.CastToArrayActionDelegate.7"); //$NON-NLS-1$
message = CDebugUIPlugin.getResourceString("internal.ui.actions.CastToArrayActionDelegate.Invalid_first_index"); //$NON-NLS-1$
enabled = false;
}
if ( enabled )
@ -192,7 +192,7 @@ public class CastToArrayActionDelegate extends ActionDelegate implements IObject
String lengthText = fLengthText.getText().trim();
if ( lengthText.length() == 0 )
{
message = CDebugUIPlugin.getResourceString("internal.ui.actions.CastToArrayActionDelegate.Invalid_first_index"); //$NON-NLS-1$
message = CDebugUIPlugin.getResourceString("internal.ui.actions.CastToArrayActionDelegate.Empty_last_index"); //$NON-NLS-1$
enabled = false;
}
else

View file

@ -58,8 +58,8 @@ public class CastToTypeActionDelegate extends ActionDelegate
public CastToTypeDialog( Shell parentShell, String initialValue )
{
super( parentShell,
CDebugUIPlugin.getResourceString("internal.ui.actions.CastToTypeActionDelegate.Cast_To_Type"),
CDebugUIPlugin.getResourceString("internal.ui.actions.CastToTypeActionDelegate.Enter_type"),
CDebugUIPlugin.getResourceString("internal.ui.actions.CastToTypeActionDelegate.Cast_To_Type"), //$NON-NLS-1$
CDebugUIPlugin.getResourceString("internal.ui.actions.CastToTypeActionDelegate.Enter_type"), //$NON-NLS-1$
initialValue, new CastToTypeInputValidator() ); //$NON-NLS-1$ //$NON-NLS-2$
}

View file

@ -58,7 +58,7 @@ public class ChangeRegisterValueAction extends SelectionProviderAction
public ChangeRegisterValueAction( Viewer viewer )
{
super( viewer, CDebugUIPlugin.getResourceString("internal.ui.actions.ChangeRegisterValueAction.Change_Register_Value") ); //$NON-NLS-1$
setDescription( "Change Register Value" );
setDescription( CDebugUIPlugin.getResourceString("internal.ui.actions.ChangeRegisterValueAction.Change_Register_Value") ); //$NON-NLS-1$
CDebugImages.setLocalImageDescriptors( this, CDebugImages.IMG_LCL_CHANGE_REGISTER_VALUE );
fTree = ((TreeViewer)viewer).getTree();
fTreeEditor = new TreeEditor( fTree );
@ -132,7 +132,7 @@ public class ChangeRegisterValueAction extends SelectionProviderAction
}
catch (DebugException de)
{
CDebugUIPlugin.errorDialog( "Setting the register value failed.", de );
CDebugUIPlugin.errorDialog( CDebugUIPlugin.getResourceString("internal.ui.actions.ChangeRegisterValueAction.Setting_register_value_failed"), de ); //$NON-NLS-1$
}
fEditorLabel.setText( varName + "=" ); //$NON-NLS-1$
@ -207,7 +207,7 @@ public class ChangeRegisterValueAction extends SelectionProviderAction
catch( DebugException de )
{
cleanup();
CDebugUIPlugin.errorDialog( "Setting the register value failed.", de );
CDebugUIPlugin.errorDialog( CDebugUIPlugin.getResourceString("internal.ui.actions.ChangeRegisterValueAction.Setting_register_value_failed"), de ); //$NON-NLS-1$
return;
}
cleanup();

View file

@ -54,7 +54,8 @@ public class EnableDisableBreakpointRulerAction extends AbstractBreakpointRulerA
try
{
boolean enabled = getBreakpoint().isEnabled();
setText( enabled ? CDebugUIPlugin.getResourceString("internal.ui.actions.EnableDisableBreakpointRulerAction.Disable_breakpoint") : "&Enable Breakpoint" ); //$NON-NLS-1$
setText( enabled ? CDebugUIPlugin.getResourceString("internal.ui.actions.EnableDisableBreakpointRulerAction.Disable_breakpoint") : //$NON-NLS-1$
CDebugUIPlugin.getResourceString("internal.ui.actions.EnableDisableBreakpointRulerAction.Enable_Breakpoint") ); //$NON-NLS-1$
}
catch( CoreException ce )
{

View file

@ -33,7 +33,7 @@ public class ExpressionDialog extends Dialog
private Button fBtnOk = null;
private Text fTextExpression;
private String fExpression = "";
private String fExpression = ""; //$NON-NLS-1$
/**
* Constructor for ExpressionDialog.

View file

@ -211,7 +211,7 @@ public class ManageBreakpointActionDelegate implements IWorkbenchWindowActionDel
lineNumber,
true,
0,
"",
"", //$NON-NLS-1$
true );
}
}

View file

@ -137,7 +137,7 @@ public class ManageFunctionBreakpointActionDelegate extends ActionDelegate
}
catch( CoreException e )
{
CDebugUIPlugin.errorDialog( "Cannot add breakpoint", e );
CDebugUIPlugin.errorDialog( CDebugUIPlugin.getResourceString("internal.ui.actions.ManageFunctionBreakpointActionDelegate.Cannot_add_breakpoint"), e ); //$NON-NLS-1$
}
}

View file

@ -58,7 +58,7 @@ public class VariableFormatActionDelegate implements IObjectActionDelegate
if ( vars != null && vars.length > 0 )
{
final MultiStatus ms = new MultiStatus( CDebugUIPlugin.getUniqueIdentifier(),
DebugException.REQUEST_FAILED, "", null );
DebugException.REQUEST_FAILED, "", null ); //$NON-NLS-1$
BusyIndicator.showWhile( Display.getCurrent(),
new Runnable()
{

View file

@ -34,6 +34,7 @@ import org.eclipse.jface.text.BadLocationException;
import org.eclipse.jface.text.Position;
import org.eclipse.ui.texteditor.AbstractMarkerAnnotationModel;
import org.eclipse.ui.texteditor.MarkerAnnotation;
import org.eclipse.cdt.debug.ui.CDebugUIPlugin;
/**
* Enter type comment.
@ -60,7 +61,7 @@ public class DisassemblyMarkerAnnotationModel extends AbstractMarkerAnnotationMo
}
catch( CoreException x )
{
doHandleCoreException( x, "Resource Changed" );
doHandleCoreException( x, CDebugUIPlugin.getResourceString("internal.ui.editors.DisassemblyMarkerAnnotationModel.Resource_Changed") ); //$NON-NLS-1$
}
}
}

View file

@ -58,6 +58,7 @@ import org.eclipse.ui.IWorkbenchPage;
import org.eclipse.ui.IWorkbenchPart;
import org.eclipse.ui.IWorkbenchWindow;
import org.eclipse.ui.plugin.AbstractUIPlugin;
import org.eclipse.cdt.debug.ui.CDebugUIPlugin;
/**
* The main plugin class to be used in the desktop.
@ -89,7 +90,7 @@ public class CDebugUIPlugin extends AbstractUIPlugin
try
{
resourceBundle =
ResourceBundle.getBundle( "org.eclipse.cdt.debug.ui.CDebugUIPluginResources" );
ResourceBundle.getBundle( "org.eclipse.cdt.debug.ui.CDebugUIPluginResources" ); //$NON-NLS-1$
}
catch( MissingResourceException x )
{
@ -123,9 +124,9 @@ public class CDebugUIPlugin extends AbstractUIPlugin
try {
return bundle.getString( key );
} catch (MissingResourceException e) {
return "!" + key + "!";
return '!' + key + '!';
} catch (NullPointerException e) {
return "#" + key + "#";
return '#' + key + '#';
}
}
public static String getFormattedString(String key, String arg) {
@ -206,7 +207,7 @@ public class CDebugUIPlugin extends AbstractUIPlugin
*/
public static void log( Throwable e )
{
log( new Status( IStatus.ERROR, getUniqueIdentifier(), ICDebugUIConstants.INTERNAL_ERROR, "Internal Error", e ) );
log( new Status( IStatus.ERROR, getUniqueIdentifier(), ICDebugUIConstants.INTERNAL_ERROR, "Internal Error", e ) ); //$NON-NLS-1$
}
/**
@ -229,7 +230,7 @@ public class CDebugUIPlugin extends AbstractUIPlugin
try {
tab = (ILaunchConfigurationTab) configElement.createExecutableExtension("class"); //$NON-NLS-1$
} catch(CoreException ce) {
log(new Status(IStatus.ERROR, getUniqueIdentifier(), 100, "An error occurred retrieving a C Debugger page", ce));
log(new Status(IStatus.ERROR, getUniqueIdentifier(), 100, "An error occurred retrieving a C Debugger page", ce)); //$NON-NLS-1$
}
}
return tab;
@ -239,7 +240,7 @@ public class CDebugUIPlugin extends AbstractUIPlugin
fDebuggerPageMap = new HashMap(10);
IPluginDescriptor descriptor= getDefault().getDescriptor();
IExtensionPoint extensionPoint= descriptor.getExtensionPoint("CDebuggerPage");
IExtensionPoint extensionPoint= descriptor.getExtensionPoint("CDebuggerPage"); //$NON-NLS-1$
IConfigurationElement[] infos= extensionPoint.getConfigurationElements();
for (int i = 0; i < infos.length; i++) {
String id = infos[i].getAttribute("debuggerID"); //$NON-NLS-1$
@ -253,7 +254,7 @@ public class CDebugUIPlugin extends AbstractUIPlugin
Shell shell = getActiveWorkbenchShell();
if ( shell != null )
{
ErrorDialog.openError( shell, "Error", message, status );
ErrorDialog.openError( shell, CDebugUIPlugin.getResourceString("ui.CDebugUIPlugin.Error"), message, status ); //$NON-NLS-1$
}
}
@ -264,7 +265,7 @@ public class CDebugUIPlugin extends AbstractUIPlugin
if ( shell != null )
{
IStatus status = new Status( IStatus.ERROR, getUniqueIdentifier(), ICDebugUIConstants.INTERNAL_ERROR, t.getMessage(), null ); //$NON-NLS-1$
ErrorDialog.openError( shell, "Error", message, status );
ErrorDialog.openError( shell, CDebugUIPlugin.getResourceString("ui.CDebugUIPlugin.Error"), message, status ); //$NON-NLS-1$
}
}

View file

@ -51,8 +51,8 @@ internal.ui.actions.CastToArrayActionDelegate.Shell_Display_As_Array=Display As
internal.ui.actions.CastToArrayActionDelegate.Start_index=Start index:
internal.ui.actions.CastToArrayActionDelegate.Length=Length:
internal.ui.actions.CastToArrayActionDelegate.First_index_field_must_not_be_empty=The 'First index' field must not be empty.
internal.ui.actions.CastToArrayActionDelegate.7=Invalid first index.
internal.ui.actions.CastToArrayActionDelegate.Invalid_first_index=The 'Last index' field must not be empty.
internal.ui.actions.CastToArrayActionDelegate.Invalid_first_index=Invalid first index.
internal.ui.actions.CastToArrayActionDelegate.Empty_last_index=The 'Last index' field must not be empty.
internal.ui.actions.CastToArrayActionDelegate.Invalid_last_index.=Invalid last index.
internal.ui.actions.CastToArrayActionDelegate.The_length_must_be_greater_than_0=The length must be greater than 0.
internal.ui.actions.CastToArrayActionDelegate.Unable_to_display_this_variable_as_an_array=Unable to display this variable as an array.
@ -105,13 +105,17 @@ internal.ui.actions.MemoryFormatAction.Unable_to_change_format=Unable to change
internal.ui.actions.MemoryFormatAction.Hexadecimal=Hexadecimal
internal.ui.actions.MemoryFormatAction.Signed_Decimal=Signed Decimal
internal.ui.actions.MemoryFormatAction.Unsigned_Decimal=Unsigned Decimal
internal.ui.actions.ManageFunctionBreakpointActionDelegate.Cannot_add_breakpoint=Cannot add breakpoint
internal.ui.actions.ChangeRegisterValueAction.Setting_register_value_failed=Setting the register value failed.
internal.ui.editors.DisassemblyMarkerAnnotationModel.Resource_Changed=Resource Changed
internal.ui.editors.CDebugEditor.C_CPP_File_Editor=C/C++ File Editor
internal.ui.editors.CDebugEditor.Source_not_found=Source not found
internal.ui.editors.CDebugEditor.attach_source_location_instructions=You can attach a new source location by pressing the button below:
internal.ui.editors.CDebugEditor.Attach_Source_button=&Attach Source...
internal.ui.editors.CDebugEditor.Can_not_find_file=Can not find the file ''{0}'' in the specified source locations.
internal.ui.editors.DisassemblyEditorInput.Disassembly=Disassembly
internal.ui.preferences.SharedLibrariesViewPreferencePage.Shared_Libraries_View_Settings=Shared Libraries View Settings.
internal.ui.preferences.SharedLibrariesViewPreferencePage.Auto-Refresh_by_default=Auto-Refresh by default
internal.ui.preferences.RegistersViewPreferencePage.Registers_View_Settings=Registers View Settings.
@ -225,4 +229,28 @@ SignalsViewer.no=no
SignalsViewer.Name=Name
SignalsViewer.Pass=Pass
SignalsViewer.Suspend=Suspend
SignalsViewer.Description=Description
SignalsViewer.Description=Description
internal.ui.CDTDebugModelPresentation.terminated=<terminated>
internal.ui.CDTDebugModelPresentation.disconnected=<disconnected>
internal.ui.CDTDebugModelPresentation.not_responding=<not_responding>
internal.ui.CDTDebugModelPresentation.Exited=\ (Exited
internal.ui.CDTDebugModelPresentation.Signal_received_Description=: Signal ''{0}'' received. Description: {1}.
internal.ui.CDTDebugModelPresentation.Exit_code=. Exit code =
internal.ui.CDTDebugModelPresentation.closeBracket=)
internal.ui.CDTDebugModelPresentation.Suspended=\ (Suspended
internal.ui.CDTDebugModelPresentation.Thread_threadName_suspended=Thread [{0}] (Suspended)
internal.ui.CDTDebugModelPresentation.Thread_name=Thread [{0}]
internal.ui.CDTDebugModelPresentation.threadName_Terminated={0} (Terminated)
internal.ui.CDTDebugModelPresentation.threadName_Stepping={0} (Stepping)
internal.ui.CDTDebugModelPresentation.threadName_Running={0} (Running)
internal.ui.CDTDebugModelPresentation.Thread_threadName_suspended=Thread [{0}] (Suspended)
internal.ui.CDTDebugModelPresentation.Symbol_not_available=<symbol is not available>
internal.ui.CDTDebugModelPresentation.disabled=<disabled>
internal.ui.CDTDebugModelPresentation.Infinity=Infinity
internal.ui.CDTDebugModelPresentation.line=line:
internal.ui.CDTDebugModelPresentation.function=function:
internal.ui.CDTDebugModelPresentation.ignore_count=ignore count:
internal.ui.CDTDebugModelPresentation.if=if
internal.ui.CDTDebugModelPresentation.at=at
internal.ui.CDebugImageDescriptorRegistry.Allocating_image_for_wrong_display=Allocating image for wrong display
ui.CDebugUIPlugin.Error=Error

View file

@ -128,7 +128,7 @@ public class SourceListDialogField extends ListDialogField
if ( element instanceof CDirectorySourceLocation && property.equals( CP_ASSOCIATION ) )
{
return ( ((CDirectorySourceLocation)element).getAssociation() != null ) ?
((CDirectorySourceLocation)element).getAssociation().toOSString() : "";
((CDirectorySourceLocation)element).getAssociation().toOSString() : ""; //$NON-NLS-1$
}
if ( element instanceof CDirectorySourceLocation && property.equals( CP_SEARCH_SUBFOLDERS ) )
{