pageControls.put(COMBO_ATTRIBUTES, attributeCombo);
attributeCombo.setLayout(new GridLayout());
gridData = createDefaultGridData();
attributeCombo.setLayoutData(gridData);
//populate the comboBox
StyleLayer selectedLayer = getSelectedLayer();
if (selectedLayer != null) {
loadWithAttributeTypes(attributeCombo, selectedLayer);
}
attributeCombo.setVisibleItemCount(16);
attributeCombo.addListener(SWT.Modify, new AttributeComboListener());