Class SingleSelectedInfoPanelItemProvider<T extends Ref>

    • Constructor Detail

      • SingleSelectedInfoPanelItemProvider

        public SingleSelectedInfoPanelItemProvider()
    • Method Detail

      • getContributions

        public java.util.Collection<? extends InfoPanelItem> getContributions​(GraphContainer container)
        Description copied from interface: InfoPanelItemProvider
        Returns all contributions for the current state of the given container.
        Specified by:
        getContributions in interface InfoPanelItemProvider
        container - the container used to decide which contributions to show
        a bunch of contributions, if any. Should NEVER return null
      • contributeTo

        protected abstract boolean contributeTo​(T ref,
                                                GraphContainer graphContainer)
      • findSingleSelectedItem

        protected abstract java.util.Optional<T> findSingleSelectedItem​(GraphContainer container)