Package org.knime.core.ui.node.workflow
Interface InteractiveWebViewsResultUI<T extends org.knime.core.node.AbstractNodeView.ViewableModel & org.knime.core.node.wizard.WizardNode<REP,VAL>,REP extends org.knime.core.node.web.WebViewContent,VAL extends org.knime.core.node.web.WebViewContent>
- Type Parameters:
T- an implementation ofAbstractNodeView.ViewableModelandWizardNodeREP- the view representation (i.e. static 'data')VAL- the view value (i.e. properties that can change)
- All Superinterfaces:
UI
- All Known Implementing Classes:
InteractiveWebViewsResultWrapper
public interface InteractiveWebViewsResultUI<T extends org.knime.core.node.AbstractNodeView.ViewableModel & org.knime.core.node.wizard.WizardNode<REP,VAL>,REP extends org.knime.core.node.web.WebViewContent,VAL extends org.knime.core.node.web.WebViewContent>
extends UI
Return value of
NodeContainerUI.getInteractiveWebViews(). It combines all the required fields/information
that are required for the editor to offer the context menu and open the views.
The list is abstracted to a result object as collecting the views requires locking the workflow/subnode, which might be expensive.
- Since:
- 3.6
- Author:
- Bernd Wiswedel, KNIME GmbH, Zurich, Switzland, Martin Horn, KNIME GmbH, Konstanz, Germany
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceInteractiveWebViewsResultUI.SingleInteractiveWebViewResultUI<T extends org.knime.core.node.AbstractNodeView.ViewableModel & org.knime.core.node.wizard.WizardNode<REP,VAL>, REP extends org.knime.core.node.web.WebViewContent, VAL extends org.knime.core.node.web.WebViewContent> Represents a single web view, currently a model and a name. -
Method Summary
-
Method Details
-
size
int size()- Returns:
- number of views.
-
get
Get individual view info.- Parameters:
index- Index of interest- Returns:
- The view result.
-