/** * Constructs a new {@code TreeConnectorsListener} instance. * * @param rootConnector * the root connector of the connector hierarchy. * @param selectionModel * the selection model of the related tree. */ public TreeConnectorsListener(IValueConnector rootConnector, TreeSelectionModel selectionModel) { connectorsSelectionListener = new CollectionConnectorsSelectionListener( rootConnector, selectionModel); checkListenerRegistrationForConnector((ICollectionConnectorListProvider) rootConnector); }
/** * Constructs a new <code>TreeConnectorsListener</code> instance. * * @param rootConnector * the root connector of the connector hierarchy. * @param selectionModel * the selection model of the related tree. */ public TreeConnectorsListener(IValueConnector rootConnector, TreeSelectionModel selectionModel) { connectorsSelectionListener = new CollectionConnectorsSelectionListener( rootConnector, selectionModel); checkListenerRegistrationForConnector((ICollectionConnectorListProvider) rootConnector); }