Examples of IntegerFieldEditor


Examples of org.eclipse.jface.preference.IntegerFieldEditor

  protected Control createContents(Composite parent) {
    Composite top = new Composite(parent, SWT.LEFT);
    top.setLayout(new GridLayout());
    top.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));

    editor1 = new IntegerFieldEditor(CDEPreferenceConstants.GOOD_RESULT_THRESHOLD,
            "Good result threshold", top);
    editor1.setPage(this);
    editor1.setPreferenceStore(getPreferenceStore());
    editor1.load();

    editor2 = new IntegerFieldEditor(CDEPreferenceConstants.AVERAGE_RESULT_THRESHOLD,
            "Average result threshold", top);
    editor2.setPage(this);
    editor2.setPreferenceStore(getPreferenceStore());
    editor2.load();
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

    lowMemoryProfile = new BooleanFieldEditor(TextRulerPreferences.LOW_MEMORY_PROFILE,
            "Use low memory profile.", getFieldEditorParent());
    addField(lowMemoryProfile);
   
    maxErrorRate = new IntegerFieldEditor(TextRulerPreferences.MAX_ERROR_RATE,
            "Maximum error rate during testing.", getFieldEditorParent());
    addField(maxErrorRate);
   
    casCache = new IntegerFieldEditor(TextRulerPreferences.CAS_CACHE,
            "CAS cache size.", getFieldEditorParent());
    addField(casCache);
   
  }
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

        Messages.getString("PlayerViewPage.UseNativeSlider"), //$NON-NLS-1$
        getFieldEditorParent());
    useNativeSliderEditor.getDescriptionControl(getFieldEditorParent()).setToolTipText((Messages.getString("PlayerViewPage.UseNativeSliderExplanation"))); //$NON-NLS-1$
    addField(useNativeSliderEditor);
   
    addField(new IntegerFieldEditor(PreferenceConstants.PLAYERVIEW_SEEK_STEP,
        Messages.getString("PlayerViewPage.SeekStep"), //$NON-NLS-1$
        getFieldEditorParent()));             
  }
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

        Messages.getString("InternetPage.ProxyUrl"),
        getFieldEditorParent());
   
    addField(proxyUrlFE);
   
    proxyPortFE = new IntegerFieldEditor(PreferenceConstants.PROXY_PORT,
        Messages.getString("InternetPage.ProxyPort"),
        getFieldEditorParent());
   
    addField(proxyPortFE);
   
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

    _useAlpha = new BooleanFieldEditor(PreferenceConstants.OSD_USE_ALPHA,
        Messages.getString("OSDPage.UseAlpha"), //$NON-NLS-1$
        getFieldEditorParent());
    addField(_useAlpha);
   
    _OSDDelay = new IntegerFieldEditor(PreferenceConstants.OSD_DELAY,
        Messages.getString("OSDPage.OSDDelay"), //$NON-NLS-1$
        getFieldEditorParent());
    addField(_OSDDelay);        
  }
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

  protected void createFieldEditors() {
    Label horizontalLine;   
    horizontalLine = new Label(getFieldEditorParent(), SWT.NONE);
    horizontalLine.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false, 2, 1));
   
    IntegerFieldEditor maxItemsEditor = new IntegerFieldEditor(PreferenceConstants.STATISTICVIEW_NB_MAX_ITEMS,
        Messages.getString("StatisticsViewPage.StatisticsMaxItems"), //$NON-NLS-1$
        getFieldEditorParent());
    maxItemsEditor.getTextControl(getFieldEditorParent()).setToolTipText(Messages.getString("StatisticsViewPage.StatisticsMaxItemsTooltip")); //$NON-NLS-1$
    addField(maxItemsEditor);
  }
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

    automaticUpdateBFE = new BooleanFieldEditor(PreferenceConstants.PODCAST_AUTOMATIC_UPDATE,
        Messages.getString("PodcastsPage.PodcastsAutomaticUpdate"), //$NON-NLS-1$
        getFieldEditorParent());
    addField(automaticUpdateBFE);
   
    automaticUpdateIntervalIFE = new IntegerFieldEditor(PreferenceConstants.PODCAST_AUTOMATIC_UPDATE_INTERVAL,
        Messages.getString("PodcastsPage.PodcastsAutomaticUpdateInterval"), //$NON-NLS-1$
        getFieldEditorParent());
    addField(automaticUpdateIntervalIFE);   
   
    horizontalLine = new Label(getFieldEditorParent(), SWT.NONE);
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

            getFieldEditorParent()));

    addField(new BooleanFieldEditor(P_SHOW_FULLY_QUALIFIED_NAMES, "&Show fully qualified names",
            getFieldEditorParent()));

    addField(new IntegerFieldEditor(P_XML_TAB_SPACES, "&XML indentation", getFieldEditorParent()));

    addField(new StringFieldEditor(P_VNS_HOST, "&Vinci Name Service Host IP address",
            getFieldEditorParent()));

    addField(new StringFieldEditor(P_VNS_PORT, "Vinci NameService &Port number",
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

        mTypeSystemFile.setChangeButtonText("Browse...");
        mTypeSystemFile.setPreferenceStore(mDotCorpusPropertyStore);
        addField(mTypeSystemFile);

        // editor line length hint
        mEditorLineLengthHint = new IntegerFieldEditor(
                DotCorpusPreferenceStore.Key.EDITOR_LINE_LENGTH_HINT.name(),
                "Line Length Hint", parent);
        mEditorLineLengthHint.setPreferenceStore(mDotCorpusPropertyStore);
        addField(mEditorLineLengthHint);
    }
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

      Runnable modifyListener, PreferenceStore store);

  protected static TabElements createBasicTabElements(Composite composite,
      final Runnable modifyListener, PreferenceStore store, Params params) {
    final StringFieldEditor debugHost;
    final IntegerFieldEditor debugPort;
    final BooleanFieldEditor addNetworkConsole;
    {
      Group connectionGroup = new Group(composite, 0);
      connectionGroup.setLayoutData(new GridData(GridData.FILL_HORIZONTAL));
      connectionGroup.setText(Messages.ChromiumRemoteTab_CONNECTION_GROUP);
      connectionGroup.setLayout(new GridLayout(1, false));


      IPropertyChangeListener propertyModifyListener = new IPropertyChangeListener() {
        public void propertyChange(PropertyChangeEvent event) {
          modifyListener.run();
        }
      };


      Composite propertiesComp = createInnerComposite(connectionGroup, 2);

      // Host text field
      debugHost = new StringFieldEditor(HOST_FIELD_NAME,
          Messages.ChromiumRemoteTab_HostLabel, propertiesComp);
      debugHost.setPropertyChangeListener(propertyModifyListener);
      debugHost.setPreferenceStore(store);

      // Port text field
      debugPort = new IntegerFieldEditor(PORT_FIELD_NAME,
          Messages.ChromiumRemoteTab_PortLabel, propertiesComp);
      debugPort.setPropertyChangeListener(propertyModifyListener);
      debugPort.setPreferenceStore(store);

      addNetworkConsole =
          new BooleanFieldEditor(ADD_NETWORK_CONSOLE_FIELD_NAME,
              Messages.ChromiumRemoteTab_ShowDebuggerNetworkCommunication, propertiesComp);
      addNetworkConsole.setPreferenceStore(store);
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.