Click or drag to resize

AbstractTextControllerCommand Class

Provides an abstract base class for commands that apply to text document controllers.
Inheritance Hierarchy
SystemObject
  Altaxo.GuiSimpleCommand
    Altaxo.Main.MenuCommands.TextAbstractTextControllerCommand
      More

Namespace: Altaxo.Main.MenuCommands.Text
Assembly: AltaxoDom (in AltaxoDom.dll) Version: 4.8.3572.0 (4.8.3572.0)
Syntax
C#
public abstract class AbstractTextControllerCommand : SimpleCommand

The AbstractTextControllerCommand type exposes the following members.

Constructors
 NameDescription
Protected methodAbstractTextControllerCommandInitializes a new instance of the AbstractTextControllerCommand class
Top
Methods
 NameDescription
Public methodCanExecuteDetermines if the command can be executed.
(Overrides SimpleCommandCanExecute(Object))
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Public methodExecute Determines the currently active text document and issues the command to that controller by calling Run(TextDocumentController) with the text document controller as a parameter.
(Overrides SimpleCommandExecute(Object))
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetContext Gets the text document controller from the command parameter or the active view content.
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodRun Override this function to implement custom text document commands.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Top
Events
 NameDescription
Public eventCanExecuteChangedOccurs when changes take place that affect whether or not the command should execute.
(Inherited from SimpleCommand)
Top
See Also
Inheritance Hierarchy