Description | Hierarchy | Fields | Methods | Properties |
type TfrmErrorsAndWarnings = class(TfrmCustomGoPhast)
TfrmErrorsAndWarnings
is used to display error and warning messages that are generated during export of a model.
pnlBottom: TPanel; |
|
btnClose: TBitBtn; |
|
vstWarningsAndErrors: TVirtualStringTree; |
|
btnHelp: TBitBtn; |
|
Timer1: TTimer; |
|
btnSave: TButton; |
|
sdSaveFileDlg: TSaveDialog; |
|
btnClear: TButton; |
|
btnCopy: TButton; |
|
FErrorChildNodes: TList; |
|
FErrorNode: PVirtualNode; |
|
FErrorModels: TStringList; |
|
FErrorModelMessageList: TModelMessageList; |
|
FWarningChildNodes: TList; |
|
FWarningNode: PVirtualNode; |
|
FWarningModels: TStringList; |
|
FWarningModelMessageList: TModelMessageList; |
procedure FormCreate(Sender: TObject); override; |
|
procedure FormDestroy(Sender: TObject); override; |
|
procedure vstWarningsAndErrorsGetText(Sender: TBaseVirtualTree; Node: PVirtualNode; Column: TColumnIndex; TextType: TVSTTextType; var CellText: String); |
|
procedure vstWarningsAndErrorsInitNode(Sender: TBaseVirtualTree; ParentNode, Node: PVirtualNode; var InitialStates: TVirtualNodeInitStates); |
|
procedure vstWarningsAndErrorsMeasureItem(Sender: TBaseVirtualTree; TargetCanvas: TCanvas; Node: PVirtualNode; var NodeHeight: Integer); |
|
procedure FormResize(Sender: TObject); |
|
procedure Timer1Timer(Sender: TObject); |
|
procedure btnSaveClick(Sender: TObject); |
|
procedure btnClearClick(Sender: TObject); |
|
procedure btnCopyClick(Sender: TObject); |
|
procedure AddErrorOrWarning(Model: TBaseModel; RootList: TStringList; const TypeOfErrorOrWarning, ErrorOrWarning: string; var RootNode: PVirtualNode; Children: TList; ModelMessageList: TModelMessageList); |
|
procedure RemoveWarningOrErrorGroup(Model: TBaseModel; const TypeOfErrorOrWarning: string; RootList: TStringList; Children: TList; ModelMessageList: TModelMessageList); |
|
procedure CheckDeleteRootNode(Model: TBaseModel; var Node: PVirtualNode; RootList: TStringList; ModelMessageList: TModelMessageList); |
|
procedure GetErrorsAndWarnings(ErrorsAndWarings: TStringList); |
|
procedure InitializeRootNode(var Node: PVirtualNode; List: TStringList); |
|
function HasMessages: boolean; |
|
Procedure AddError(Model: TBaseModel; const Root, Error: string); |
|
Procedure AddWarning(Model: TBaseModel; const Root, Warning: string); |
|
Procedure Clear; |
|
procedure RemoveWarningGroup(Model: TBaseModel; const TypeOfWarning: string); |
|
procedure RemoveErrorGroup(Model: TBaseModel; const TypeOfError: string); |
|
procedure ShowAfterDelay; |
pnlBottom: TPanel; |
|
|
btnClose: TBitBtn; |
|
|
vstWarningsAndErrors: TVirtualStringTree; |
|
|
btnHelp: TBitBtn; |
|
|
Timer1: TTimer; |
|
btnSave: TButton; |
|
sdSaveFileDlg: TSaveDialog; |
|
btnClear: TButton; |
|
btnCopy: TButton; |
|
FErrorChildNodes: TList; |
|
|
FErrorNode: PVirtualNode; |
|
|
FErrorModels: TStringList; |
|
|
FErrorModelMessageList: TModelMessageList; |
|
FWarningChildNodes: TList; |
|
|
FWarningNode: PVirtualNode; |
|
|
FWarningModelMessageList: TModelMessageList; |
|
procedure FormCreate(Sender: TObject); override; |
|
|
procedure FormDestroy(Sender: TObject); override; |
|
|
procedure FormResize(Sender: TObject); |
|
procedure Timer1Timer(Sender: TObject); |
|
procedure btnSaveClick(Sender: TObject); |
|
procedure btnClearClick(Sender: TObject); |
|
procedure btnCopyClick(Sender: TObject); |
|
procedure AddErrorOrWarning(Model: TBaseModel; RootList: TStringList; const TypeOfErrorOrWarning, ErrorOrWarning: string; var RootNode: PVirtualNode; Children: TList; ModelMessageList: TModelMessageList); |
|
|
procedure RemoveWarningOrErrorGroup(Model: TBaseModel; const TypeOfErrorOrWarning: string; RootList: TStringList; Children: TList; ModelMessageList: TModelMessageList); |
|
procedure CheckDeleteRootNode(Model: TBaseModel; var Node: PVirtualNode; RootList: TStringList; ModelMessageList: TModelMessageList); |
|
procedure GetErrorsAndWarnings(ErrorsAndWarings: TStringList); |
|
procedure InitializeRootNode(var Node: PVirtualNode; List: TStringList); |
|
See also
|
function HasMessages: boolean; |
|
Private declarations |
Procedure AddError(Model: TBaseModel; const Root, Error: string); |
|
|
Procedure AddWarning(Model: TBaseModel; const Root, Warning: string); |
|
|
Procedure Clear; |
|
|
procedure RemoveWarningGroup(Model: TBaseModel; const TypeOfWarning: string); |
|
procedure RemoveErrorGroup(Model: TBaseModel; const TypeOfError: string); |
|
procedure ShowAfterDelay; |
|