*
* @param elements the elements to add
*/
public void add(Object[] elements) {
Object[] filtered = filter(elements);
ILabelProvider labelProvider = (ILabelProvider) getLabelProvider();
for (int i = 0; i < filtered.length; i++) {
Object element = filtered[i];
int ix = indexForElement(element);
combo.add(labelProvider.getText(element), ix);
comboMap.add(ix, element);
mapElement(element, combo); // must map it, since findItem only looks in map, if enabled
}
}