comboViewer.setContentProvider(new ArrayContentProvider());
comboViewer.setLabelProvider(new LabelProvider(){
@Override
public String getText( Object element ) {
if (element instanceof IAOIStrategy) {
IAOIStrategy comboStrategy = (IAOIStrategy) element;
return comboStrategy.getName();
}
return super.getText(element);
}
});
comboViewer.setInput(aOIService.getProxyList());