Synced
EditorAction
Section titled “EditorAction”
- Defines one automatically discovered editor operation and owns its complete multi-frame lifecycle.
Required contracts
Section titled “Required contracts”API: scripting
Implements: System.IDisposable
Inherits: object
Project: Inno.Editor.Interactions
Scope: Editor
Declaration
Section titled “Declaration”public abstract class InnoEditor.Interactions.EditorAction : System.IDisposableMembers
Section titled “Members”| Kind | Element | Description |
|---|---|---|
| Constructors | EditorAction.Constructor | No XML description is available. |
| Methods | EditorAction.Activate | Activates this action for a target and cancels any operation it previously owned. |
| Methods | EditorAction.Cancel | Cancels the current operation and returns the action to its idle state. |
| Methods | EditorAction.Complete | Completes the current operation and returns the action to its idle state. |
| Methods | EditorAction.Dispose | Cancels active work and releases this action instance. |
| Methods | EditorAction.Execute | Executes the action for the supplied context. |
| Methods | EditorAction.OnCancelled | Runs after an active operation is cancelled. |
| Methods | EditorAction.OnCompleted | Runs after an active operation completes successfully. |
| Methods | EditorAction.OnPresentationLost | Runs when this action’s active target loses editor presentation focus. |
| Methods | EditorAction.Present | Presents an active action at the current target location. |
| Methods | EditorAction.Query | Evaluates the action for the supplied context. |
| Properties | EditorAction.activeEditorContext | Gets the host-owned passive context of the active operation, or null after completion. |
| Properties | EditorAction.activeTarget | Resolves the active target afresh for this callback; null means the identity is unavailable. |
| Properties | EditorAction.isActive | Gets whether the action currently owns an active multi-frame operation. |
| Properties | EditorAction.targetType | Gets the required target type, or null for a targetless action. |