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);
}
Aggregations