Class TLayerOwnerCollection
Unit
OrderedCollectionUnit
Declaration
type TLayerOwnerCollection = class(TEnhancedOrderedCollection)
Description
TLayerOwnerCollection is a TEnhancedOrderedCollection that stores of list of TDataArrays that it can delete. The list (NewDataSets) is not created by the TLayerOwnerCollection. Instead another class creates it and assigns it to TLayerOwnerCollection. TUndoChangeLgrPackageSelection is an example of a class that assigns NewDataSets.
When a new TDataArray is created, it should be added to NewDataSets using AddOwnedDataArray; In DoCommand, ClearNewDataSets should be called before the TDataArrays are created. In Undo, RemoveNewDataSets should be called;
Hierarchy
Overview
Fields
Methods
Properties
Description
Fields
Methods
 |
procedure ClearNewDataSets; |
|
ClearNewDataSets clears NewDataSets.
|
Properties
 |
property NewDataSets: TList read FNewDataSets write FNewDataSets; |
|
NewDataSets is the list of TDataArrays managed by TLayerOwnerCollection. NewDataSets is NOT owned by TLayerOwnerCollection.
|
Generated by PasDoc 0.12.1 on 2013-05-13 15:41:54