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

Change the error message.

This commit is contained in:
Alain Magloire 2003-08-26 20:17:48 +00:00
parent 8f3b6007eb
commit a4f0b0b2cd

View file

@ -25,6 +25,7 @@ public class BuildConsolePreferencePage extends FieldEditorPreferencePage implem
private static final String PREF_CONSOLE_ON_TOP = "consoleOnTop";
private static final String PREF_AUTO_OPEN_CONSOLE = "autoOpenConsole";
public static final String PREF_BUILDCONSOLE_LINES = "buildConsoleLines";
public static final String PREF_BUILDCONSOLE_LINES_ERROR = "CBasePreferencePage.buildConsole.errorMessage"; //$NON-NLS-1$
private static final String CLEAR_CONSOLE_LABEL= "CBasePreferencePage.clearConsole.label";
private static final String CONSOLE_ON_TOP_LABEL= "CBasePreferencePage.consoleOnTop.label";
@ -50,6 +51,7 @@ public class BuildConsolePreferencePage extends FieldEditorPreferencePage implem
addField(consoleOnTop);
IntegerFieldEditor buildCount = new IntegerFieldEditor( PREF_BUILDCONSOLE_LINES, "&Build console lines: ", parent );
buildCount.setErrorMessage(CUIPlugin.getResourceString(PREF_BUILDCONSOLE_LINES_ERROR));
buildCount.setValidRange( 10, Integer.MAX_VALUE );
addField( buildCount );