public AbstractFindDcPopupView(EventBus eventBus, boolean multiSelection) { super(eventBus); table = new EntityModelCellTable<ListModel>(multiSelection); initWidget(ViewUiBinder.uiBinder.createAndBindUi(this)); // Table Entity Columns table.addColumn( new AbstractEntityModelTextColumn<StoragePool>() { @Override public String getText(StoragePool storage) { return storage.getName(); } }, constants.nameDc()); table.addColumn( new AbstractEntityModelTextColumn<StoragePool>() { @Override protected String getText(StoragePool entity) { return entity.isLocal() ? constants.storageTypeLocal() : constants.storageTypeShared(); } }, constants.storgeTypeDc()); }