Package org.eclipse.jface.preference

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


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

    _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

  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

    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

            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

        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

      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

        addField(new ColorFieldEditor(PreferenceConstants.COLOR_STRING, "String coloring (\"String\" or 'String')", getFieldEditorParent()));
        addField(new ColorFieldEditor(PreferenceConstants.COLOR_VARIABLE, "Variable coloring ($var)", getFieldEditorParent()));
        addField(new ColorFieldEditor(PreferenceConstants.COLOR_OTHER, "General text coloring (everything else)", getFieldEditorParent()));
     
      // Tab width
      IntegerFieldEditor tabWidth = new IntegerFieldEditor(PreferenceConstants.TAB_WIDTH, "Tab width", getFieldEditorParent());
      tabWidth.setValidRange(0, 8);
      addField(tabWidth);
     
      // Include powershell cmdlets
      addField(new BooleanFieldEditor(PreferenceConstants.INCLUDE_PSCMDLETS, "Include Powershell cmdlets", getFieldEditorParent()));
     
View Full Code Here

            if (!XugglerEncoder.isInstalled()) {
                setErrorMessage("Xuggler is not installed!");
            }
        }

        addField(new IntegerFieldEditor(
            PreferenceConstants.ENCODING_VIDEO_FRAMERATE, "Frames per second",
            composite, 2));

        addField(new IntegerFieldEditor(
            PreferenceConstants.ENCODING_VIDEO_WIDTH, "Resolution width",
            composite, 4));
        addField(new IntegerFieldEditor(
            PreferenceConstants.ENCODING_VIDEO_HEIGHT, "Resolution height",
            composite, 4));
        addField(new IntegerFieldEditor(
            PreferenceConstants.ENCODING_MAX_BITRATE, "Max. bitrate",
            composite, 8));

        addField(VideoSharingPreferenceHelper
            .getEncoderComboFieldEditor(composite));
View Full Code Here

TOP

Related Classes of org.eclipse.jface.preference.IntegerFieldEditor

Copyright © 2018 www.massapicom. 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.