Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMikhail Khodjaiants2005-01-11 20:56:37 +0000
committerMikhail Khodjaiants2005-01-11 20:56:37 +0000
commitff4f5d878abcae449098bbc84ed3a42cb5fd94ee (patch)
tree5ac21a0474e9dc5b9eac1e8aef06f72d24a16794 /debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse
parent6892af49a861a1b43f8bf23d134f77475e714511 (diff)
downloadorg.eclipse.cdt-ff4f5d878abcae449098bbc84ed3a42cb5fd94ee.tar.gz
org.eclipse.cdt-ff4f5d878abcae449098bbc84ed3a42cb5fd94ee.tar.xz
org.eclipse.cdt-ff4f5d878abcae449098bbc84ed3a42cb5fd94ee.zip
Replaced deprecated methods and constants.
Diffstat (limited to 'debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse')
-rw-r--r--debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/preferences/MIPreferencePage.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/preferences/MIPreferencePage.java b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/preferences/MIPreferencePage.java
index a2077c6d66a..f3095e15298 100644
--- a/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/preferences/MIPreferencePage.java
+++ b/debug/org.eclipse.cdt.debug.mi.ui/src/org/eclipse/cdt/debug/mi/internal/ui/preferences/MIPreferencePage.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;

Back to the top