Class SimpleHierarchicalPortListPanel<TM extends SimpleHierarchicalPortTableModel<S,​P,​M>,​S extends org.bidib.wizard.model.status.BidibStatus,​P extends org.bidib.wizard.model.ports.Port<S>,​L extends org.bidib.wizard.api.model.listener.PortListener<P>,​M extends PortModelListener<P>>

    • Constructor Detail

      • SimpleHierarchicalPortListPanel

        public SimpleHierarchicalPortListPanel​(TM tableModel,
                                               String emptyTableText,
                                               io.reactivex.rxjava3.subjects.PublishSubject<org.bidib.wizard.model.ports.event.PortConfigChangeEvent> portConfigChangeEventSubject,
                                               NodeSelectionProvider nodeSelectionProvider)
    • Method Detail

      • createTable

        protected void createTable​(TM tableModel,
                                   String emptyTableText,
                                   io.reactivex.rxjava3.subjects.PublishSubject<org.bidib.wizard.model.ports.event.PortConfigChangeEvent> portConfigChangeEventSubject,
                                   NodeSelectionProvider nodeSelectionProvider)
      • setPortListener

        public void setPortListener​(L listener)
      • collapseAllRows

        protected void collapseAllRows()
      • expandAllRows

        protected void expandAllRows()
      • listChanged

        public void listChanged()
        Specified by:
        listChanged in interface org.bidib.wizard.api.model.listener.PortListListener
      • refreshPorts

        public void refreshPorts()
        Specified by:
        refreshPorts in interface org.bidib.wizard.api.model.listener.PortListListener
      • processListChanged

        protected void processListChanged()
      • packColumn

        protected void packColumn()
      • changeLabel

        public void changeLabel​(org.bidib.wizard.common.script.node.types.TargetType portType)
        Specified by:
        changeLabel in interface ChangeLabelSupport
      • getPorts

        protected abstract List<P> getPorts()
        Get the list of ports.
        Returns:
        the list of ports
      • getPortListener

        public org.bidib.wizard.api.model.listener.PortListener<P> getPortListener()
        Specified by:
        getPortListener in interface org.bidib.wizard.api.model.listener.PortListenerProvider<TM extends SimpleHierarchicalPortTableModel<S,​P,​M>>
      • hasPendingChanges

        public boolean hasPendingChanges()
        Specified by:
        hasPendingChanges in interface PendingChangesAware
        Returns:
        true pending changes detected, false no pending changes detected