mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-25 18:05:33 +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
|
||||
Replaced deprecated methods and constants.
|
||||
* ListDialogField.java
|
||||
|
|
|
@ -438,7 +438,7 @@ public class MIPreferencePage extends PreferencePage implements IWorkbenchPrefer
|
|||
data.widthHint = convertWidthInCharsToPixels( 10 );
|
||||
toText.getTextControl( parent ).setLayoutData( data );
|
||||
toText.setPreferenceStore( getMICorePreferenceStore() );
|
||||
toText.setPreferencePage( this );
|
||||
toText.setPage( this );
|
||||
toText.setValidateStrategy( StringFieldEditor.VALIDATE_ON_KEY_STROKE );
|
||||
toText.setValidRange( IMIConstants.MIN_REQUEST_TIMEOUT, IMIConstants.MAX_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 ) {
|
||||
BooleanFieldEditor field = new BooleanFieldEditor( preference, label, parent );
|
||||
field.setPreferencePage( this );
|
||||
field.setPage( this );
|
||||
field.setPreferenceStore( new MIPreferenceStore( MIPlugin.getDefault().getPluginPreferences() ) );
|
||||
field.load();
|
||||
return field;
|
||||
|
|
Loading…
Add table
Reference in a new issue