Class CadOwnerEditGate
- Namespace
- OpenCAD2D
- Assembly
- OpenCAD2D.Core.dll
The gate a document asks before it changes an entity, made from the owners registered with it: an entity with no owner tag is edited freely, one of an owner is edited as that owner's CadEditRule says (a move only, nothing at all, or anything), and a refusal says why in the words the command line shows.
public sealed class CadOwnerEditGate : ICadEditGate
- Inheritance
-
CadOwnerEditGate
- Implements
- Inherited Members
Constructors
- CadOwnerEditGate(CadOwnerRegistry)
Makes a gate over a registry of owners.
Methods
- Allows(CadDocument, DxfEntity, CadEditRecord, out string)
Asks whether one planned change of an entity may be made.
- KindOf(CadEditRecord)
Gets which kind of edit of the owner contract a planned change is: a transformation is the move, rotation, scale or mirror its property names, a grip drag that only translates (an insertion point, a centre, a middle grip) is a move, and reshaping is a grip edit.