Class TCustomUndoDivideScreenObject

DescriptionHierarchyFieldsMethodsProperties

Unit

Declaration

type TCustomUndoDivideScreenObject = class(TCustomImportMultipleScreenObjects)

Description

no description available, TCustomImportMultipleScreenObjects description follows
no description available, TUndoChangeSelection description follows

TUndoChangeSelection is used to change or restore which TScreenObjects or vertices in an individual TScreenObject are selected.

To use, Create a TUndoChangeSelection, change the TScreenObjects that are selected, and call SetPostSelection. Then Undo and Redo can be used to restore or redo the changes in what is selected.

      UndoChangeSelection := TUndoChangeSelection.Create;
      try
        // Change the selected TScreenObjects here.
        UndoChangeSelection.SetPostSelection;
        if UndoChangeSelection.SelectionChanged then
        begin
          frmGoPhast.UndoStack.Submit(UndoChangeSelection);
        end
        else
        begin
          UndoChangeSelection.Free;
        end;
      except
        UndoChangeSelection.Free;
        raise;
      end;
    

Hierarchy

Overview

Fields

Private FOldChildModelScreenObjects: TList;
Private FObjectToSplit: TList;
Private FOldScreenObjectSettings: TList;

Methods

Protected function ShouldDivideScreenScreenObject( AScreenObject: TScreenObject): boolean; virtual; abstract;
Protected procedure UnselectAllVertices(AScreenObject: TScreenObject);
Public constructor Create;
Public destructor Destroy; override;
Public procedure DoCommand; override;
Public procedure Undo; override;

Description

Fields

Private FOldChildModelScreenObjects: TList;
 
Private FObjectToSplit: TList;
 
Private FOldScreenObjectSettings: TList;
 

Methods

Protected function ShouldDivideScreenScreenObject( AScreenObject: TScreenObject): boolean; virtual; abstract;
 
Protected procedure UnselectAllVertices(AScreenObject: TScreenObject);
 
Public constructor Create;
 
Public destructor Destroy; override;
 
Public procedure DoCommand; override;
 
Public procedure Undo; override;
 

Generated by PasDoc 0.12.1 on 2013-05-13 15:42:06