Click or drag to resize

SingleActionEditT Class

Represents an undoable edit operation that executes a custom action with old and new values of a specific type.
Inheritance Hierarchy
SystemObject
  Demo3D.VisualsDocumentEdit
    Demo3D.VisualsDocumentVisualsEdit
      Demo3D.VisualsSingleActionEditT

Namespace: Demo3D.Visuals
Assembly: Demo3D.Core (in Demo3D.Core.dll) Version: 19.00.00
Syntax
C#
public class SingleActionEdit<T> : DocumentVisualsEdit

Type Parameters

T
The type of the values being changed.

The SingleActionEditT type exposes the following members.

Constructors
 NameDescription
Public methodSingleActionEditT Initializes a new instance of the SingleActionEditT class.
Top
Properties
 NameDescription
Public propertyDocument The document that contains the edit.
(Inherited from DocumentEdit)
Public propertyIds The Ids of the affected visuals.
(Inherited from DocumentVisualsEdit)
Top
Methods
 NameDescription
Public methodFindVisuals Find all visuals in the scene which match an id in the Ids property."/>
(Inherited from DocumentVisualsEdit)
Public methodRedo Executed when redo is called on this edit from the UndoManager
(Overrides DocumentEditRedo)
Public methodSetVisuals Set the list of affected visuals.
(Inherited from DocumentVisualsEdit)
Public methodToString Returns a string representation of this action edit.
(Overrides ObjectToString)
Public methodUndo Executed when undo is called on this edit from the UndoManager
(Overrides DocumentEditUndo)
Protected methodVisualsToString Returns a string representation of the affected visuals for display purposes.
(Inherited from DocumentVisualsEdit)
Top
See Also