Examples of RadioGroupFieldEditor


Examples of org.eclipse.jface.preference.RadioGroupFieldEditor

          HTMLPlugin.getResourceString("HTMLEditorPreferencePage.SoftTabWidth"),
          parent,4);
    softTabWidth.setEnabled(getPreferenceStore().getBoolean(HTMLPlugin.PREF_USE_SOFTTAB),parent);
    addField(softTabWidth);
   
    editorType = new RadioGroupFieldEditor(HTMLPlugin.PREF_EDITOR_TYPE,
          HTMLPlugin.getResourceString("HTMLEditorPreferencePage.EditorType"),1,
          new String[][]{
            {HTMLPlugin.getResourceString("HTMLEditorPreferencePage.EditorTab"),"tab"},
            {HTMLPlugin.getResourceString("HTMLEditorPreferencePage.EditorSplitHor"),"horizontal"},
            {HTMLPlugin.getResourceString("HTMLEditorPreferencePage.EditorSplitVer"),"vertical"},
View Full Code Here

Examples of org.eclipse.jface.preference.RadioGroupFieldEditor

        getFieldEditorParent()));
   
    horizontalLine = new Label(getFieldEditorParent(), SWT.NONE);
    horizontalLine.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false, 2, 1));
   
    addField(new RadioGroupFieldEditor(
        PreferenceConstants.DISKVIEW_FOLDER_DOUBLECLICK_ACTION,
        Messages.getString("DiskViewPage.FolderDoubleclickAction"), //$NON-NLS-1$
        1,
        new String[][] { { Messages.getString("DiskViewPage.FolderDoubleclickActionDefault"), "0" }, { //$NON-NLS-1$ //$NON-NLS-2$
                  Messages.getString("DiskViewPage.FolderDoubleclickActionExpand"), "1" } }, //$NON-NLS-1$ //$NON-NLS-2$
        getFieldEditorParent()));
   
    horizontalLine = new Label(getFieldEditorParent(), SWT.NONE);
    horizontalLine.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false, 2, 1));   
   
    addField(new RadioGroupFieldEditor(
        PreferenceConstants.DISKVIEW_DEFAULT_DOUBLECLICK_ACTION,
        Messages.getString("DiskViewPage.PlayDefaultDoubleclickAction"), //$NON-NLS-1$
        1,
        new String[][] { { Messages.getString("ViewsPage.DoubleclickActionPlay"), "0" }, { //$NON-NLS-1$ //$NON-NLS-2$
                  Messages.getString("ViewsPage.DoubleclickActionEnqueue"), "1" } }, //$NON-NLS-1$ //$NON-NLS-2$
        getFieldEditorParent()));
   
    horizontalLine = new Label(getFieldEditorParent(), SWT.NONE);
    horizontalLine.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false, 2, 1));
   
    addField(new RadioGroupFieldEditor(
        PreferenceConstants.DISKVIEW_DISPLAY_MODE,
        Messages.getString("DiskViewPage.DisplayMode"), //$NON-NLS-1$
        1,
        new String[][] { { Messages.getString("DiskViewPage.DisplayModeDirectoriesFirst"), "0" }, { //$NON-NLS-1$ //$NON-NLS-2$
                  Messages.getString("DiskViewPage.DisplayModeFilesFirst"), "1" } }, //$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

Examples of org.eclipse.jface.preference.RadioGroupFieldEditor

    _showToolbarEditor = new BooleanFieldEditor(PreferenceConstants.PLAYERVIEW_SHOW_IN_TOOLBAR,
        Messages.getString("PlayerViewPage.ShowInToolbar"), //$NON-NLS-1$
        getFieldEditorParent());
    addField(_showToolbarEditor);
   
    _toolbarSizeRFE = new RadioGroupFieldEditor(
        PreferenceConstants.PLAYERVIEW_TOOLBAR_SIZE,
        Messages.getString("PlayerViewPage.ToolbarSize"), //$NON-NLS-1$
        1,
        new String[][] { { Messages.getString("PlayerViewPage.ToolbarSizeLarge"), ToolBarSize.LARGE.getValue() }, { //$NON-NLS-1$ //$NON-NLS-2$
                  Messages.getString("PlayerViewPage.ToolbarSizeMedium"), ToolBarSize.MEDIUM.getValue() }, { //$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

Examples of org.eclipse.jface.preference.RadioGroupFieldEditor

    Label horizontalLine;
   
    horizontalLine = new Label(getFieldEditorParent(), SWT.NONE);
    horizontalLine.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false, 3, 1));
   
    proxyTypeFE = new RadioGroupFieldEditor(
        PreferenceConstants.PROXY_TYPE,
          Messages.getString("InternetPage.ProxyType"), //$NON-NLS-1$
          1,
          new String[][] { { Messages.getString("InternetPage.NoProxy"), Proxy.Type.DIRECT.toString() }, { //$NON-NLS-1$ //$NON-NLS-2$
            Messages.getString("InternetPage.ProxyHttp"), Proxy.Type.HTTP.toString() }, { //$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

Examples of org.eclipse.jface.preference.RadioGroupFieldEditor

  protected void createFieldEditors() {
    Label horizontalLine;   
    horizontalLine = new Label(getFieldEditorParent(), SWT.NONE);
    horizontalLine.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false, 2, 1));
   
    addField(new RadioGroupFieldEditor(
        PreferenceConstants.LIBRARYVIEW_FOLDER_DOUBLECLICK_ACTION,
        Messages.getString("LibraryViewPage.FolderDoubleclickAction"), //$NON-NLS-1$
        1,
        new String[][] { { Messages.getString("LibraryViewPage.FolderDoubleclickActionDefault"), "0" }, { //$NON-NLS-1$ //$NON-NLS-2$
                  Messages.getString("LibraryViewPage.FolderDoubleclickActionExpand"), "1" } }, //$NON-NLS-1$ //$NON-NLS-2$
        getFieldEditorParent()));
   
    horizontalLine = new Label(getFieldEditorParent(), SWT.NONE);
    horizontalLine.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false, 2, 1));
   
    addField(new RadioGroupFieldEditor(
        PreferenceConstants.LIBRARYVIEW_DEFAULT_DOUBLECLICK_ACTION,
        Messages.getString("LibraryViewPage.PlayDefaultDoubleclickAction"), //$NON-NLS-1$
        1,
        new String[][] { { Messages.getString("ViewsPage.DoubleclickActionPlay"), "0" }, { //$NON-NLS-1$ //$NON-NLS-2$
                  Messages.getString("ViewsPage.DoubleclickActionEnqueue"), "1" } }, //$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

Examples of org.eclipse.jface.preference.RadioGroupFieldEditor

    Label horizontalLine;
   
    horizontalLine = new Label(getFieldEditorParent(), SWT.NONE);
    horizontalLine.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false, 3, 1));
   
    addField(new RadioGroupFieldEditor(
        PreferenceConstants.PLAYBACK_ENGINE,
        Messages.getString("EnginesPage.ChooseEngine"), //$NON-NLS-1$
        1,
        new String[][] { { Messages.getString("EnginesPage.JLayerEngine"), "0" }, { //$NON-NLS-1$ //$NON-NLS-2$
                  Messages.getString("EnginesPage.MPlayerEngine"), "1" } }, //$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

Examples of org.eclipse.jface.preference.RadioGroupFieldEditor

  protected void createFieldEditors() {
    Label horizontalLine;   
    horizontalLine = new Label(getFieldEditorParent(), SWT.NONE);
    horizontalLine.setLayoutData(new GridData(GridData.FILL, GridData.FILL, true, false, 2, 1));
   
    addField(new RadioGroupFieldEditor(
        PreferenceConstants.PLAYLISTSVIEW_DOUBLECLICK_ACTION,
        Messages.getString("PlaylistOverviewPage.DefaultDoubleclickAction"), //$NON-NLS-1$
        1,
        new String[][] { { Messages.getString("PlaylistOverviewPage.ActionOpen"), "0" }, //$NON-NLS-1$ //$NON-NLS-2$
                  { Messages.getString("PlaylistOverviewPage.ActionPlay"), "1" }, //$NON-NLS-1$ //$NON-NLS-2$
View Full Code Here

Examples of org.eclipse.jface.preference.RadioGroupFieldEditor

    for(IconSetExtension iconSet : iconSets) {
      if(iconSet.type.equals(IconSetExtensionPoint.ICONSET_TYPE_EMOTICONS))
        emoticonSetList.add(new String[] { iconSet.name + " (" + iconSet.description + ") by " + iconSet.author,iconSet.id });
    }
    String[][] emoticonSets = emoticonSetList.toArray(new String[2][]);
    addField(new RadioGroupFieldEditor(
        PreferenceConstants.P_EMOTICONSET,
        "EmoticonSet",
        1,
        emoticonSets,
        getFieldEditorParent()));
View Full Code Here

Examples of org.eclipse.jface.preference.RadioGroupFieldEditor

//    addField(new BooleanFieldEditor(
//        PreferenceConstants.P_CHAT_OPEN_NEW_WINDOW,
//        "Open Chat GUI in New Window (not dockable)",
//        getFieldEditorParent()));
   
    RadioGroupFieldEditor editor = new RadioGroupFieldEditor(PreferenceConstants.P_MAIN_WINDOW_STYLE,"Main (ContactList) Window Style (Restart required)",3,
        new String[][] {
        { "OS Default", PreferenceConstants.P_MAIN_WINDOW_STYLE_VALUE_OSDEFAULT },
        { "Tool Style", PreferenceConstants.P_MAIN_WINDOW_STYLE_VALUE_TOOL },
        { "No Border",  PreferenceConstants.P_MAIN_WINDOW_STYLE_VALUE_NOBORDER }
        },getFieldEditorParent());   
    Control labelControl = editor.getLabelControl(getFieldEditorParent());
    labelControl.setToolTipText("Choose style of the GOIM window (requires restart)");
    addField(editor);
   
    addField(new RadioGroupFieldEditor(PreferenceConstants.P_CHAT_OPEN_TYPE,
        "How to open new Chat Windows ?",
        3,new String[][] {
        { "Same Window as Contact List", PreferenceConstants.P_CHAT_OPEN_TYPE_SAMEWINDOW },
        { "All in a New Window", PreferenceConstants.P_CHAT_OPEN_TYPE_NEWWINDOW },
        { "All in a second Tabbed Window", PreferenceConstants.P_CHAT_OPEN_TYPE_NEWTABBEDWINDOW }
        },getFieldEditorParent()));
    addField(new BooleanFieldEditor(
        PreferenceConstants.P_CHAT_ACTIVATE_CHAT_WINDOW,
        "Activate (force foreground) Chat Window when New Messages Arrive",
        getFieldEditorParent()));
    addField(new BooleanFieldEditor(
        PreferenceConstants.P_CHAT_ACTIVATE_CHAT_WINDOW_ONLY_IFAVAILABLE,
        "Only Activate Chat Window if your status is Online (above option must be enabled)",
        getFieldEditorParent()));
    addField(new BooleanFieldEditor(
        PreferenceConstants.P_CHAT_USE_BROWSER_WIDGET,
        "Use Browser Widget in Chat Window",
        getFieldEditorParent()));
    addField(new BooleanFieldEditor(
        PreferenceConstants.P_ENABLE_TRAY_ICON,
        "Enable Tray Icon",
        getFieldEditorParent()));
    String[][] changeStatusToOnGameLaunch = new String[][] {
        { "Don't Change", "" },
        { "Away", Presence.Mode.AWAY.toString() },
        { "Do Not Disturb", Presence.Mode.DO_NOT_DISTURB.toString() }
    };
    addField(new RadioGroupFieldEditor(PreferenceConstants.P_CHANGE_STATUS_TO_ON_GAME_LAUNCH,
        "Change Status When Launching Game To",
        1,changeStatusToOnGameLaunch,getFieldEditorParent()));
    List<ContactListExtension> lists = ContactListExtensionPoint.getContactListExtensions();
    String[][] lists_choose = new String[lists.size()][2];
    int i = 0;
    for(ContactListExtension contactList : lists) {
      lists_choose[i][0] = contactList.name;
      lists_choose[i][1] = contactList.viewid;
      i++;
    }
    addField(new RadioGroupFieldEditor(PreferenceConstants.P_CONTACTLIST,"Contact List",1,lists_choose,getFieldEditorParent()));
    addField(new BooleanFieldEditor(
        PreferenceConstants.P_CONTACTLIST_ALLACCOUNTS,
        "All Accounts handled by ONE ContactList",
        getFieldEditorParent()));
    addField(new BooleanFieldEditor(
View Full Code Here

Examples of org.eclipse.jface.preference.RadioGroupFieldEditor

    sfExcludes = new StringFieldEditor(EXCLUDES, "exclude project paths from being checked (comma separated)", composite);
    sfExcludes.setPreferenceStore(getPreferenceStore());
    sfExcludes.setPage(this);
    sfExcludes.load();

    rgAdder = new RadioGroupFieldEditor(ADDERS_TO, "add new components to", 1, new String[][] { { "Constructor", "ctor" }, { "onInitialize", "init" } }, composite);
    rgAdder.setPreferenceStore(getPreferenceStore());
    rgAdder.setPage(this);
    rgAdder.load();

    return composite;
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.