Package org.knime.core.ui.node.workflow
Interface ConnectionContainerUI
- All Superinterfaces:
org.knime.core.node.workflow.ConnectionProgressListener,EventListener,UI
- All Known Implementing Classes:
ConnectionContainerWrapper
public interface ConnectionContainerUI
extends org.knime.core.node.workflow.ConnectionProgressListener, UI
UI-interface that mirrors the
ConnectionContainer.- Author:
- wiswedel, Martin Horn
-
Method Summary
Modifier and TypeMethodDescriptionvoidaddProgressListener(org.knime.core.node.workflow.ConnectionProgressListener listener) Adds a listener to the list of registered progress listeners.voidaddUIInformationListener(org.knime.core.node.workflow.ConnectionUIInformationListener l) Add a listener to the list of registered listeners.voidcleanup()Removes all registered listeners in order to release references on this object.org.knime.core.node.workflow.NodeIDgetDest()intorg.knime.core.node.workflow.ConnectionIDgetID()org.knime.core.node.workflow.NodeIDintorg.knime.core.node.workflow.ConnectionContainer.ConnectionTypegetType()org.knime.core.node.workflow.ConnectionUIInformationbooleanbooleanvoidremoveProgressListener(org.knime.core.node.workflow.ConnectionProgressListener listener) Removes a listener from the list of registered progress listeners.voidremoveUIInformationListener(org.knime.core.node.workflow.ConnectionUIInformationListener l) Remove a registered listener from the listener list.voidsetUIInfo(org.knime.core.node.workflow.ConnectionUIInformation uiInfo) Methods inherited from interface org.knime.core.node.workflow.ConnectionProgressListener
progressChanged
-
Method Details
-
getUIInfo
org.knime.core.node.workflow.ConnectionUIInformation getUIInfo()- Returns:
- the uiInfo
-
getDest
org.knime.core.node.workflow.NodeID getDest()- Returns:
- the dest
-
getDestPort
int getDestPort()- Returns:
- the destPort
-
getSource
org.knime.core.node.workflow.NodeID getSource()- Returns:
- the source
-
getSourcePort
int getSourcePort()- Returns:
- the sourcePort
-
isDeletable
boolean isDeletable()- Returns:
- the isDeletable
-
isFlowVariablePortConnection
boolean isFlowVariablePortConnection()- Returns:
- whether the connection connects two flow variable ports
-
getType
org.knime.core.node.workflow.ConnectionContainer.ConnectionType getType()- Returns:
- type of the connection
-
getID
org.knime.core.node.workflow.ConnectionID getID()- Returns:
- the ID for this connection.
-
setUIInfo
void setUIInfo(org.knime.core.node.workflow.ConnectionUIInformation uiInfo) - Parameters:
uiInfo- the uiInfo to set
-
addUIInformationListener
void addUIInformationListener(org.knime.core.node.workflow.ConnectionUIInformationListener l) Add a listener to the list of registered listeners.- Parameters:
l- The listener to add, must not be null.
-
removeUIInformationListener
void removeUIInformationListener(org.knime.core.node.workflow.ConnectionUIInformationListener l) Remove a registered listener from the listener list.- Parameters:
l- The listener to remove.
-
addProgressListener
void addProgressListener(org.knime.core.node.workflow.ConnectionProgressListener listener) Adds a listener to the list of registered progress listeners.- Parameters:
listener- The listener to add, must not be null.
-
removeProgressListener
void removeProgressListener(org.knime.core.node.workflow.ConnectionProgressListener listener) Removes a listener from the list of registered progress listeners.- Parameters:
listener- The listener to remove
-
cleanup
void cleanup()Removes all registered listeners in order to release references on this object.
-