NShape Reference
Command Class

<< Click to Display Table of Contents >>

Navigation:  Class Reference > Namespace Dataweb.NShape.Commands >

NShape Reference
Command Class

Previous pageReturn to chapter overviewNext page

Base class for all commands.

Syntax

public abstract class Command : ICommand

Description

Command can but need not be used as a base class for custom commands.

Public Properties

Name

Description

Description

A descriptive text on what the command does, displayed as tool tips for Undo/Redo buttons / menu items.

Repository

A repository where the changes are performed on.

RequiredPermission

The Permission required for executing the command

Public Methods

Name

Description

Execute

Executes the command.

IsAllowed

Checks wether the required permissions are granted.

Revert

Reverts the command.

Protected Properties

Name

Description

description

A descriptive text on what the command does.

Protected Methods

Name

Description

CanUndeleteEntities

Checks wether the given IEntity can be undeleted.

CanUndeleteEntity

Checks wether the given IEntity can be undeleted.

Constructor

Constructs a new instance.

Derived Classes

Derived classes are:

MoveContronPointCommand

MoveGluePointCommand

RotateShapesCommand

InsertVertexCommand

SetCaptionTextCommand

RemoveVertexCommand

CreateDesignCommand

LiftShapeCommand

DeleteDesignCommand

AutoDisconnectShapeCommand

SetModelObjectCommand

CreateStyleCommand

InsertOrRemoveShapeCommand

AssignModelObjectCommand

DeleteStyleCommand

ExchangeTemplateCommand

ExchangeTemplateShapeCommand

PropertySetCommand

CreateTemplateCommand

ConnectionCommand

DeleteTemplateCommand

InsertOrRemoveLayerCommand

AggregatedCommand

InsertDiagramCommand

MoveShapeByCommand

MoveShapesCommand

Requirements

Namespace: Dataweb.NShape.Commands

Assembly: Dataweb.NShape