mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-08-04 14:55:41 +02:00
Replaced deprecated methods and constants.
This commit is contained in:
parent
6892af49a8
commit
ff4f5d878a
2 changed files with 6 additions and 2 deletions
|
@ -1,3 +1,7 @@
|
||||||
|
2005-01-11 Mikhail Khodjaiants
|
||||||
|
Replaced deprecated methods and constants.
|
||||||
|
* MIPreferencePage.java
|
||||||
|
|
||||||
2005-01-11 Mikhail Khodjaiants
|
2005-01-11 Mikhail Khodjaiants
|
||||||
Replaced deprecated methods and constants.
|
Replaced deprecated methods and constants.
|
||||||
* ListDialogField.java
|
* ListDialogField.java
|
||||||
|
|
|
@ -438,7 +438,7 @@ public class MIPreferencePage extends PreferencePage implements IWorkbenchPrefer
|
||||||
data.widthHint = convertWidthInCharsToPixels( 10 );
|
data.widthHint = convertWidthInCharsToPixels( 10 );
|
||||||
toText.getTextControl( parent ).setLayoutData( data );
|
toText.getTextControl( parent ).setLayoutData( data );
|
||||||
toText.setPreferenceStore( getMICorePreferenceStore() );
|
toText.setPreferenceStore( getMICorePreferenceStore() );
|
||||||
toText.setPreferencePage( this );
|
toText.setPage( this );
|
||||||
toText.setValidateStrategy( StringFieldEditor.VALIDATE_ON_KEY_STROKE );
|
toText.setValidateStrategy( StringFieldEditor.VALIDATE_ON_KEY_STROKE );
|
||||||
toText.setValidRange( IMIConstants.MIN_REQUEST_TIMEOUT, IMIConstants.MAX_REQUEST_TIMEOUT );
|
toText.setValidRange( IMIConstants.MIN_REQUEST_TIMEOUT, IMIConstants.MAX_REQUEST_TIMEOUT );
|
||||||
String minValue = Integer.toString( IMIConstants.MIN_REQUEST_TIMEOUT );
|
String minValue = Integer.toString( IMIConstants.MIN_REQUEST_TIMEOUT );
|
||||||
|
@ -450,7 +450,7 @@ public class MIPreferencePage extends PreferencePage implements IWorkbenchPrefer
|
||||||
|
|
||||||
private BooleanFieldEditor createRefreshField( String preference, String label, Composite parent ) {
|
private BooleanFieldEditor createRefreshField( String preference, String label, Composite parent ) {
|
||||||
BooleanFieldEditor field = new BooleanFieldEditor( preference, label, parent );
|
BooleanFieldEditor field = new BooleanFieldEditor( preference, label, parent );
|
||||||
field.setPreferencePage( this );
|
field.setPage( this );
|
||||||
field.setPreferenceStore( new MIPreferenceStore( MIPlugin.getDefault().getPluginPreferences() ) );
|
field.setPreferenceStore( new MIPreferenceStore( MIPlugin.getDefault().getPluginPreferences() ) );
|
||||||
field.load();
|
field.load();
|
||||||
return field;
|
return field;
|
||||||
|
|
Loading…
Add table
Reference in a new issue