Class ContextObjectSupplierUI

java.lang.Object
org.knime.core.ui.node.workflow.ContextObjectSupplierUI
All Implemented Interfaces:
org.knime.core.node.workflow.NodeContext.ContextObjectSupplier, UI

public class ContextObjectSupplierUI extends Object implements org.knime.core.node.workflow.NodeContext.ContextObjectSupplier, UI
Context object supplier that either takes a NodeContainer or a NodeContainerUI and converts it into NodeContainer, NodeContainerUI, WorkflowManager, or WorkflowManagerUI. Is registered with NodeContext in CoreUIPlugin.start(org.osgi.framework.BundleContext).
Author:
Martin Horn, KNIME GmbH, Konstanz, Germany
  • Constructor Details

    • ContextObjectSupplierUI

      public ContextObjectSupplierUI()
  • Method Details

    • getObjOfClass

      public <C> Optional<C> getObjOfClass(Class<C> contextObjClass, Object srcObj)
      Specified by:
      getObjOfClass in interface org.knime.core.node.workflow.NodeContext.ContextObjectSupplier