/** * {@inheritDoc} */ public void bindSelectionModel(ISelectable selectable, ListSelectionModel selectionModel, IIndexMapper rowMapper) { selectionModel.addListSelectionListener(new SelectionModelListener( selectable, rowMapper)); selectable.addSelectionChangeListener(new SelectionChangeListener( selectionModel, rowMapper)); }
/** * {@inheritDoc} */ @Override public void bindSelectionModel(JComponent collectionComponent, ISelectable selectable, ListSelectionModel selectionModel, IIndexMapper rowMapper) { selectionModel.addListSelectionListener(new SelectionModelListener( selectable, rowMapper)); selectable.addSelectionChangeListener(new SelectionChangeListener( collectionComponent, selectionModel, rowMapper)); }