NevronOpenVision
Nevron.Nov.Editors Namespace / NEditorWindow Class / CreateForInstance<T> Method
The type to create an editor window for. This should be a type that derives from NNode.
The node this editor should edit.
Editor context (can be null)
The parent window.
Optional function to call if the user clicks the OK button of the editor window. Skip this parameter or pass null if you are not interested in this event.
In This Topic
    CreateForInstance<T> Method
    In This Topic
    Creates an editor window for the given node instance.
    Syntax
    public static NEditorWindow CreateForInstance<T>( 
       T node,
       NEditorContext context,
       NWindow parentWindow,
       Nevron.Nov.Function<T> onOkClicked
    )
    where T: NNode

    Parameters

    node
    The node this editor should edit.
    context
    Editor context (can be null)
    parentWindow
    The parent window.
    onOkClicked
    Optional function to call if the user clicks the OK button of the editor window. Skip this parameter or pass null if you are not interested in this event.

    Type Parameters

    T
    The type to create an editor window for. This should be a type that derives from NNode.

    Return Value

    An editor window for the given node.
    Requirements

    Target Platforms: Windows 11, Windows 10, Windows 7, Windows Server 2019, Windows Server 2016, Windows Server 2012 R2, Windows Server 2012, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later)

    See Also