<< Click to Display Table of Contents >> NShape Reference
|
Interface for undoable commands.
public interface ICommand |
Interface for undoable commands.
Name |
Description |
---|---|
Repository |
Gets or sets an IRepository. |
Description |
Returns a descriptive text. |
Name |
Description |
---|---|
Execute |
Executes the command. |
Revert |
Reverts the command. |
IsAllowed |
Checks whether executing the command is allowed with the help of the given ISecurityManager. |
CheckAllowed |
Checks whether executing the command is allowed with the help of the given ISecurityManager. Returns an Exception object (which can be thrown) if the action is not allowed. |
OpenDiagram |
Creates the diagram controller for the indicated diagram. |
CloseDiagram |
Releases the diagram controller for the indicated diagram. |
Project |
References the diagramming project. |
Namespace: Dataweb.NShape.Commands
Assembly: Dataweb.NShape