public class TooltipUtils extends Object
Modifier and Type | Method and Description |
---|---|
static MarkdownDocument |
getAlgorithmDocumentation(JIPipeGraphNode node) |
static MarkdownDocument |
getAlgorithmDocumentation(JIPipeNodeInfo info) |
static String |
getAlgorithmTooltip(JIPipeGraphNode node,
boolean withTitle)
Creates a tooltip for an algorithm
|
static String |
getAlgorithmTooltip(JIPipeNodeInfo info)
Creates a tooltip for an algorithm.
|
static String |
getAlgorithmTooltip(JIPipeNodeInfo info,
boolean withTitle)
Creates a tooltip for an algorithm
|
static String |
getAlgorithmTooltip(JIPipeNodeTemplate template,
boolean withTitle)
Creates a tooltip for an algorithm
|
static String |
getDataTableTooltip(JIPipeDataTable dataTable)
Creates a tooltip for an
JIPipeDataSlot |
static String |
getDataTooltip(JIPipeDataInfo info)
Creates a tooltip for data
|
static String |
getProjectCompartmentTooltip(JIPipeProjectCompartment compartment,
JIPipeGraph projectGraph)
Creates a tooltip for a project compartment
|
static String |
getSlotTable(Collection<JIPipeDataSlotInfo> slotDefinitions)
Creates a slot definition table.
|
public static String getProjectCompartmentTooltip(JIPipeProjectCompartment compartment, JIPipeGraph projectGraph)
compartment
- the compartmentprojectGraph
- the project graphpublic static String getAlgorithmTooltip(JIPipeNodeInfo info)
info
- the algorithm typepublic static MarkdownDocument getAlgorithmDocumentation(JIPipeNodeInfo info)
public static MarkdownDocument getAlgorithmDocumentation(JIPipeGraphNode node)
public static String getAlgorithmTooltip(JIPipeNodeInfo info, boolean withTitle)
info
- the algorithmwithTitle
- if a title is displayedpublic static String getAlgorithmTooltip(JIPipeNodeTemplate template, boolean withTitle)
template
- the node templatewithTitle
- if a title is displayedpublic static String getAlgorithmTooltip(JIPipeGraphNode node, boolean withTitle)
node
- the algorithmwithTitle
- if a title is displayedpublic static String getDataTableTooltip(JIPipeDataTable dataTable)
JIPipeDataSlot
dataTable
- the data tablepublic static String getSlotTable(Collection<JIPipeDataSlotInfo> slotDefinitions)
slotDefinitions
- the slotspublic static String getDataTooltip(JIPipeDataInfo info)
info
- the data typeCopyright © 2020–2022 Leibniz Institute for Natural Product Research and Infection Biology - Hans Knöll Institute (HKI). All rights reserved.