public static NEditorWindow CreateForType<T>( T node, NEditorContext context, NWindow parentWindow, System.bool nullable, 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.
- nullable
- Specifies whether the edited value can be set to null or not.
- onOkClicked
- The function to call if the user clicks the OK button of the editor window. 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 type of the given node.