private KongaList createList() {
KongaListFactory factory = ComponentFactories.newKongaListFactory();
factory.setVisibleRowCount(15);
factory.setPrototypeValue("XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX");
factory.setCellRenderer(RendererUtils.getIntegrationEntityListCellRenderer());
KongaList list = factory.newList();
list.setSelectionMode(ListSelectionMode.SINGLE_SELECTION);
list.addSelectionListener(new SelectionListener() {
@Override
public void selectionChanged(SelectionChangedEvent evt) {
IntegrationEntity entity = getSelectedEntity();
publishPath(ResultList.this, entity);