Otter SDK Reference
Version:

OperationEditor Class

Inheritance Hierarchy

  • object
    • Inedo.Otter.Web.Controls.Plans.OperationEditor

Syntax

public class OperationEditor

Constructors

Name Description
OperationEditor(System.Type operationType, IOperationEditorContext context)

Initializes a new instance of the OperationEditor class.

Properties

Name Description
EditorContext

Gets the context of the editor

ModelType

Gets the type of the model.

OperationType

Gets the type of the operation to edit

Methods

Name Description
CreateActionStatement(object model)

Creates the action statement based on data from the model.

CreateDpContextInvocation(Inedo.ExecutionEngine.ActionStatement statement)

Creates the invocation that will be used based an optional statement

CreateModel(Inedo.ExecutionEngine.ActionStatement action)

Creates a model from an Inedo.ExecutionEngine.ActionStatement

CreateView(Inedo.ExecutionEngine.ActionStatement statement)

Creates the HTML view that will be bound against the model by Knockout

FromOperationType(System.Type operationType, IOperationEditorContext context)

Creates a OperationEditor from the specified type

GetPropertyContainer

Gets the property container that's used for creating validators and the property editors

ProcessModel(object data)

Processes the model returned from Knockout, returning all arguments to the operation as key/value pairs

Remarks

Unlike other extension editors, this utilizes Inedo.Web.DP-related components, and does not actually edit an instance of the an Inedo.Otter.Extensibility.Operations.Operation, but the Inedo.ExecutionEngine.ActionStatement that is used in a plan.