Search in sources :

Example 1 with LINK_STYLE

use of org.talend.designer.abstractmap.ui.properties.LINK_STYLE in project tdi-studio-se by Talend.

the class MapPreferencePage method createFieldEditors.

/**
     * Create all field editors for this page
     */
public void createFieldEditors() {
    LINK_STYLE[] linkStyles = LINK_STYLE.values();
    String[][] strComboValues = new String[linkStyles.length][2];
    for (int i = 0; i < linkStyles.length; i++) {
        strComboValues[i][0] = linkStyles[i].getDisplayName();
        strComboValues[i][1] = linkStyles[i].getName();
    }
    ComboFieldEditor dbTypeField = new ComboFieldEditor(MapPrefsConstants.LINK_STYLE, Messages.getString("prefs.configuration.LINK_STYLE"), strComboValues, //$NON-NLS-1$
    getFieldEditorParent());
    addField(dbTypeField);
}
Also used : LINK_STYLE(org.talend.designer.abstractmap.ui.properties.LINK_STYLE) ComboFieldEditor(org.talend.commons.ui.utils.workbench.preferences.ComboFieldEditor)

Aggregations

ComboFieldEditor (org.talend.commons.ui.utils.workbench.preferences.ComboFieldEditor)1 LINK_STYLE (org.talend.designer.abstractmap.ui.properties.LINK_STYLE)1