Interface ISingleNodePrototype<TData>

    • Method Detail

      • getNodePrototypes

        default List<INodePrototypeDescriptor<TData>> getNodePrototypes​(IGetNodePrototypesParams params)
        Description copied from interface: INodeHandler
        Returns a list of all node prototypes for this node type. Each prototype appears in the drawer panel of the workflow designer. The user can move a node prototype via drag & drop into the design area in the center to add the node to the current flowchart.

        You should always return all prototypes, irrespective of whether they are allowed to the current user. IElementHandler.isAvailable(IIsAvailableParams) is checked by the engine, and unavailable node types are removed automatically.

        Specified by:
        getNodePrototypes in interface INodeHandler<TData>
        Parameters:
        params - Parameters for this method, such as the current locale for localizing the display name of the prototypes.
        Returns:
        A list of all available prototypes. null is treated as an empty list.