Examples of IntegerFieldEditor


Examples of org.eclipse.jface.preference.IntegerFieldEditor

        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

Examples of org.eclipse.jface.preference.IntegerFieldEditor

            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

Examples of org.eclipse.jface.preference.IntegerFieldEditor

    @Override
    protected void createFieldEditors() {

        createInviteFields();

        IntegerFieldEditor millisUpdateField = new IntegerFieldEditor(
            PreferenceConstants.MILLIS_UPDATE,
            Messages.AdvancedPreferencePage_peer_update, getFieldEditorParent());
        millisUpdateField.setValidRange(100, 1000);
        millisUpdateField.getLabelControl(getFieldEditorParent())
            .setToolTipText(
                Messages.AdvancedPreferencePage_interval_between_editings);

        addField(millisUpdateField);
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

            PreferenceConstants.SCREEN_INITIAL_MODE, "Initial mode", 2,
            new String[][] {
                { "follow mouse", Screen.Mode.FOLLOW_MOUSE.name() },
                { "full screen", Screen.Mode.FULL_SCREEN.name() } }, composite,
            true));
        addField(new IntegerFieldEditor(
            PreferenceConstants.SCREEN_MOUSE_AREA_WIDTH, "mouse area width",
            composite, 4));
        addField(new IntegerFieldEditor(
            PreferenceConstants.SCREEN_MOUSE_AREA_HEIGHT, "mouse area height",
            composite, 4));

        addField(new BooleanFieldEditor(
            PreferenceConstants.SCREEN_SHOW_MOUSEPOINTER, "Show mousepointer",
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

  /* (non-Javadoc)
   * @see org.eclipse.jface.preference.FieldEditorPreferencePage#createFieldEditors()
   */
  @Override
  protected void createFieldEditors() {
    this.mFontSize = new IntegerFieldEditor(PreferenceConstants.KEY_FONT_SIZE, PreferenceConstants.LABEL_FONT_SIZE, this.getFieldEditorParent());
    this.addField(this.mFontSize);
  }
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

    GridLayout layout = new GridLayout();
    layout.numColumns = 2;
    composite.setLayout(layout);

    String text = SSEUIMessages.TranslucencyPreferenceTab_1; //$NON-NLS-1$
    fTranslucencyScale = new IntegerFieldEditor(EditorPreferenceNames.READ_ONLY_FOREGROUND_SCALE, text, composite);

    fTranslucencyScale.setErrorMessage(JFaceResources.getString("StringFieldEditor.errorMessage"));//$NON-NLS-1$
    fTranslucencyScale.setPreferenceStore(getPreferenceStore());
    fTranslucencyScale.setPreferencePage(getMainPreferencePage());
    fTranslucencyScale.setTextLimit(Integer.toString(MAX_PERCENTAGE).length());
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

    }

    private IntegerFieldEditor addIntegerField(String name, String labelText,
            Composite parent)
    {
        IntegerFieldEditor f = new IntegerFieldEditor(name, labelText, parent);
        addField(f);
        return f;
    }
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

    private void composeLogViewSettings(final Composite composite) {
        Group logViewSettings = buildSettingsGroup(composite, "LogView output limitation");
        GridData gridData = (GridData) logViewSettings.getLayoutData();
        gridData.heightHint = 35;

        IntegerFieldEditor outputLimetaionField = new IntegerFieldEditor(DefaultPreferences.LogViewPreferences.getId(),
                " &LogView buffer size (logs):", logViewSettings);
        outputLimetaionField.getTextControl(logViewSettings).setLayoutData(
                new GridData(SWT.FILL, SWT.CENTER, true, false));
        addField(outputLimetaionField);

        logger.debug("LogView settings were composed");
    }
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

 
  public void createFieldEditors() {
    addField(new StringFieldEditor(PreferenceConstants.P_IPURLSERVICE,
        "&External IP address service URL:", getFieldEditorParent()));
    addField(
      new IntegerFieldEditor(
        PreferenceConstants.P_LISTENINGPORT,
        "&Listening port",
        getFieldEditorParent()));
  }
View Full Code Here

Examples of org.eclipse.jface.preference.IntegerFieldEditor

  /**
   * Creates the field editors.
   */
  public void createFieldEditors()
    {
    addField(new IntegerFieldEditor(PrefConst.P_IVR_DEFAULT_WIDTH, "Default Width (pixel)", getFieldEditorParent()));

    addField(new IntegerFieldEditor(PrefConst.P_IVR_DEFAULT_HEIGHT, "Default Height (pixel)", getFieldEditorParent()));

    addField(new IntegerFieldEditor(PrefConst.P_IVR_MIN_ZOOM, "Minimal Zoom Factor (%)", getFieldEditorParent()));

    addField(new IntegerFieldEditor(PrefConst.P_IVR_MAX_ZOOM, "Maximal Zoom Factor (%)", getFieldEditorParent()));
    }
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.