Class TUndoImportShapefile

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TUndoImportShapefile = class(TUndoChangeSelection)

Description

TUndoImportShapefile is used to undo or redo the import of a Shapefile

Hierarchy

Overview

Fields

Protected FNewScreenObjects: TList;

Methods

Protected function Description: string; override;
Public destructor Destroy; override;
Public procedure DoCommand; override;
Public procedure Redo; override;
Public constructor StoreNewScreenObjects(const ListOfScreenObjects: TList);
Public procedure Undo; override;
Public procedure UpdateScreenObject(const AScreenObject: TScreenObject);

Description

Fields

Protected FNewScreenObjects: TList;

FNewScreenObjects: TList; FNewScreenObjects holds the newly imported TScreenObjects.

Methods

Protected function Description: string; override;

Description describes what TUndoImportShapefile does.

Public destructor Destroy; override;

Destroy destroys the current instance of TUndoImportShapefile. Do not call Destroy directly. Call Free instead.

Public procedure DoCommand; override;

DoCommand makes sure the (TScreenObject.Deleted) property TScreenObjects is False.

Public procedure Redo; override;

Redo calls DoCommand.

Public constructor StoreNewScreenObjects(const ListOfScreenObjects: TList);

StoreNewScreenObjects deselects all the existing TScreenObjects, creates FNewScreenObjects and puts the contents of ListOfScreenObjects in FNewScreenObjects.

Public procedure Undo; override;

Undo makes sure the (TScreenObject.Deleted) property TScreenObjects is True.

Public procedure UpdateScreenObject(const AScreenObject: TScreenObject);

UpdateScreenObject notifies frmGoPhast that frmGoPhast.TopScreenObjectsChanged is True or frmGoPhast.FrontScreenObjectsChanged is True or frmGoPhast.SideScreenObjectsChanged is True all three or true. It then sets AScreenObject.UpToDate to True.


Generated by PasDoc 0.10.0 on 2006-10-31 09:56:36