/** * Constructs a new <code>ConnectorHierarchyTreeModel</code> instance. * * @param rootConnector * the connector being the root node of the tree. */ public ConnectorHierarchyTreeModel(ICompositeValueConnector rootConnector) { this.rootConnector = rootConnector; connectorsListener = new TreeConnectorsListener(); checkListenerRegistrationForConnector(rootConnector); addTreeModelListener(this); }
/** * Constructs a new <code>ConnectorHierarchyTreeModel</code> instance. * * @param rootConnector * the connector being the root node of the tree. */ public ConnectorHierarchyTreeModel(ICompositeValueConnector rootConnector) { this.rootConnector = rootConnector; connectorsListener = new TreeConnectorsListener(); checkListenerRegistrationForConnector(rootConnector); addTreeModelListener(this); }