/// <summary> /// record feature delete /// </summary> /// <param name="featrueIdx">featureID</param> /// <param name="feature">what was deleted</param> public void featureDeleted(int featrueIdx, Feature feature) { Debug.Assert(feature != null); operationType = UndoElementType.DeleteFeature; this.featureIndex = featrueIdx; this.feature = feature; }
public void partDeleted(int featrueIdx, int partIdx, Part part) { Debug.Assert(part != null); operationType = UndoElementType.DeletePolylinePart; this.featureIndex = featrueIdx; this.partIndex = partIdx; this.part = part; }
public void featureMoved(SymbolFeature actualFeatureMoved, SymbolFeature originalFeatureLocation) { operationType = UndoElementType.MoveFeature; this.feature = actualFeatureMoved; this.originalFeature = originalFeatureLocation; }
public void featureAdded(PolylineFeature feature) { operationType = UndoElementType.InsertFeature; this.featureIndex = feature.FeatureID; }
public void pointMoved(DPoint actualPointMoved, DPoint originalPointLocation) { operationType = UndoElementType.MovePolylinePoint; this.point = actualPointMoved; this.originalPoint = originalPointLocation; }