Package org.knime.core.ui.wrapper
Class NativeNodeContainerWrapper
java.lang.Object
org.knime.core.ui.wrapper.AbstractWrapper<W>
org.knime.core.ui.wrapper.NodeContainerWrapper<W>
org.knime.core.ui.wrapper.SingleNodeContainerWrapper<org.knime.core.node.workflow.NativeNodeContainer>
org.knime.core.ui.wrapper.NativeNodeContainerWrapper
- All Implemented Interfaces:
EventListener,org.knime.core.node.workflow.NodeContainerStateObservable,org.knime.core.node.workflow.NodeProgressListener,NativeNodeContainerUI,NodeContainerUI,SingleNodeContainerUI,UI,Wrapper<org.knime.core.node.workflow.NativeNodeContainer>
public final class NativeNodeContainerWrapper
extends SingleNodeContainerWrapper<org.knime.core.node.workflow.NativeNodeContainer>
implements NativeNodeContainerUI
UI-interface implementation that wraps a
NativeNodeContainer.- Author:
- Martin Horn, KNIME GmbH, Konstanz, Germany
-
Field Summary
Fields inherited from interface org.knime.core.ui.wrapper.Wrapper
WRAPPER_MAP -
Method Summary
Modifier and TypeMethodDescriptionOptional<org.knime.core.node.context.ModifiableNodeCreationConfiguration>Returns a deep copy of the creation configuration of this node.booleanIf the node can configure its ports via the context menu ('...') as perConfigurableNodeFactory.isPortConfigurableViaMenu().static final NativeNodeContainerWrapperwrap(org.knime.core.node.workflow.NativeNodeContainer snc) Wraps the object viaWrapper.wrapOrGet(Object, java.util.function.Function).Methods inherited from class org.knime.core.ui.wrapper.SingleNodeContainerWrapper
getXMLDescription, isInactive, isMemberOfScope, wrapMethods inherited from class org.knime.core.ui.wrapper.NodeContainerWrapper
addNodeMessageListener, addNodePropertyChangedListener, addNodeStateChangeListener, addProgressListener, addUIInformationListener, applySettingsFromDialog, areDialogAndNodeSettingsEqual, areDialogSettingsValid, canExecuteUpToHere, changeNodeLocks, clearWaitingLoopList, doRpc, findJobManager, getCustomDescription, getCustomName, getDialogPaneWithSettings, getDisplayLabel, getIcon, getIconAsStream, getID, getInPort, getInteractiveViewName, getInteractiveWebViews, getJobManager, getName, getNameWithID, getNodeAnnotation, getNodeContainerState, getNodeLocks, getNodeMessage, getNodeSettings, getNodeViewName, getNrInPorts, getNrNodeViews, getNrOutPorts, getNrViews, getOutPort, getParent, getType, getUIInformation, getViewName, hasDataAwareDialogPane, hasDialog, hasInteractiveView, isAllInputDataAvailable, isDeletable, isDirty, progressChanged, removeNodeMessageListener, removeNodeProgressListener, removeNodePropertyChangedListener, removeNodeStateChangeListener, removeUIInformationListener, setCustomDescription, setDeletable, setDirty, setNodeMessage, setUIInformation, setUIInformationForCorrection, wrapMethods inherited from class org.knime.core.ui.wrapper.AbstractWrapper
equals, hashCode, toString, unwrapMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface org.knime.core.ui.node.workflow.NodeContainerUI
addNodeMessageListener, addNodePropertyChangedListener, addNodeStateChangeListener, addProgressListener, addUIInformationListener, applySettingsFromDialog, areDialogAndNodeSettingsEqual, areDialogSettingsValid, canExecuteUpToHere, changeNodeLocks, clearWaitingLoopList, doRpc, findJobManager, getCustomDescription, getCustomName, getDialogPaneWithSettings, getDisplayLabel, getIcon, getIconAsStream, getID, getInPort, getInteractiveViewName, getInteractiveWebViews, getJobManager, getName, getNameWithID, getNodeAnnotation, getNodeContainerState, getNodeLocks, getNodeMessage, getNodeSettings, getNodeViewName, getNrInPorts, getNrNodeViews, getNrOutPorts, getNrViews, getOutPort, getParent, getType, getUIInformation, getViewName, hasDataAwareDialogPane, hasDialog, hasInteractiveView, isAllInputDataAvailable, isDeletable, isDirty, removeNodeMessageListener, removeNodeProgressListener, removeNodePropertyChangedListener, removeNodeStateChangeListener, removeUIInformationListener, setCustomDescription, setDeletable, setDirty, setNodeMessage, setUIInformation, setUIInformationForCorrection, toStringMethods inherited from interface org.knime.core.node.workflow.NodeProgressListener
progressChangedMethods inherited from interface org.knime.core.ui.node.workflow.SingleNodeContainerUI
getXMLDescription, isInactive, isMemberOfScope
-
Method Details
-
wrap
public static final NativeNodeContainerWrapper wrap(org.knime.core.node.workflow.NativeNodeContainer snc) Wraps the object viaWrapper.wrapOrGet(Object, java.util.function.Function).- Parameters:
snc- the object to be wrapped- Returns:
- a new wrapper or a already existing one
-
getNodeFactoryClassName
- Specified by:
getNodeFactoryClassNamein interfaceNativeNodeContainerUI- Returns:
- the fully-qualified underlying node factory class name of the native node
-
getCopyOfCreationConfig
public Optional<org.knime.core.node.context.ModifiableNodeCreationConfiguration> getCopyOfCreationConfig()Returns a deep copy of the creation configuration of this node.- Specified by:
getCopyOfCreationConfigin interfaceNativeNodeContainerUI- Returns:
- deep copy of the node creation configuration
-
isPortConfigurableViaMenu
public boolean isPortConfigurableViaMenu()Description copied from interface:NativeNodeContainerUIIf the node can configure its ports via the context menu ('...') as perConfigurableNodeFactory.isPortConfigurableViaMenu().- Specified by:
isPortConfigurableViaMenuin interfaceNativeNodeContainerUI- Returns:
- false for "standard nodes", otherwise the property of the configurable nodes.
-
getNodeFactoryId
- Specified by:
getNodeFactoryIdin interfaceNativeNodeContainerUI- Returns:
- see
NodeFactory.getFactoryId()
-