Changeset 3886


Ignore:
Timestamp:
Jul 28, 2008, 6:08:47 PM (12 years ago)
Author:
yura
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • devel-tools/trunk/eclipse/org.refal.rfpdt.ui/src/org/refal/rfpdt/ui/preferences/SyntaxColoringPreferencePage.java

    r3880 r3886  
    88import org.eclipse.jface.preference.FieldEditorPreferencePage;
    99import org.eclipse.jface.preference.IPreferenceStore;
    10 import org.eclipse.jface.preference.IntegerFieldEditor;
    1110import org.eclipse.jface.preference.PreferenceConverter;
    1211import org.eclipse.swt.SWT;
     
    2827
    2928public class SyntaxColoringPreferencePage extends FieldEditorPreferencePage implements IWorkbenchPreferencePage {
    30     public static class ModifiableIntegerFieldEditor extends IntegerFieldEditor {
    31         public ModifiableIntegerFieldEditor (String name, String label, Composite parent) {
    32             super(name, label, parent);
    33         }
    34 
    35         void setIntValue (int value) {
    36             setStringValue(String.valueOf(value));
    37             setPresentsDefaultValue(false);
    38         }
    39     }
    40 
    4129    public static class ModifiableBooleanFieldEditor extends BooleanFieldEditor {
    4230        private final Composite parent;
Note: See TracChangeset for help on using the changeset viewer.