public abstract class SingleSelectedInfoPanelItemProvider<T extends Ref> extends Object implements InfoPanelItemProvider
| Constructor and Description | 
|---|
SingleSelectedInfoPanelItemProvider()  | 
| Modifier and Type | Method and Description | 
|---|---|
protected abstract boolean | 
contributeTo(T ref,
            GraphContainer graphContainer)  | 
protected abstract InfoPanelItem | 
createInfoPanelItem(T ref,
                   GraphContainer graphContainer)  | 
protected abstract Optional<T> | 
findSingleSelectedItem(GraphContainer container)  | 
Collection<? extends InfoPanelItem> | 
getContributions(GraphContainer container)
Returns all contributions for the current state of the given container. 
 | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcontributeIfpublic Collection<? extends InfoPanelItem> getContributions(GraphContainer container)
InfoPanelItemProvidergetContributions in interface InfoPanelItemProvidercontainer - the container used to decide which contributions to showprotected abstract boolean contributeTo(T ref, GraphContainer graphContainer)
protected abstract InfoPanelItem createInfoPanelItem(T ref, GraphContainer graphContainer)
protected abstract Optional<T> findSingleSelectedItem(GraphContainer container)
Copyright © 2021. All rights reserved.