ALBA
|
#include <albaWizardBlock.h>
Public Member Functions | |
albaWizardBlock (const char *name) | |
virtual | ~albaWizardBlock () |
wxString | GetName () |
virtual void | SetNextBlock (const char *block) |
virtual wxString | GetNextBlock () |
virtual void | Delete () |
albaString | GetDescriptionLabel () |
void | SetDescriptionLabel (const char *label) |
void | SetNextBlockOnAbort (const char *label) |
virtual void | Abort () |
void | SetBlockProgress (int progress) |
int | GetBlockProgress () |
Protected Member Functions | |
virtual void | ExcutionBegin () |
virtual void | ExcutionEnd () |
void | SetSelectedVME (albaVME *node) |
void | SetListener (albaObserver *Listener) |
int | Success () |
virtual wxString | GetRequiredOperation () |
Protected Attributes | |
wxString | m_Name |
wxString | m_BlockType |
wxString | m_AbortBlock |
wxString | m_NextBlock |
albaVME * | m_SelectedVME |
albaVME * | m_InputVME |
int | m_Success |
int | m_Running |
albaObserver * | m_Listener |
albaString | m_DescriptionLabel |
long | m_BlockProgress |
Friends | |
class | albaWizard |
Class Name: albaWizardBlock.
Class for the base wizard block, each block on a wizard must extend this block
Definition at line 36 of file albaWizardBlock.h.
albaWizardBlock::albaWizardBlock | ( | const char * | name | ) |
Default constructor
Requires the name of the block "START","END" are reserved.
|
virtual |
Default destructor.
wxString albaWizardBlock::GetName | ( | ) |
Get the name of the block.
|
virtual |
Set name of the Block called after operation.
There are some special blocks: WIZARD{<name>} Switch to the wizard <name> and execute it START Goes to the first block of the wizard END Exits from the wizard
Reimplemented in albaWizardBlockSelection, and albaWizardBlockYesNoSelection.
|
virtual |
Return the name of the Block witch will be executed after this.
Reimplemented in albaWizardBlockFileExistCheck, albaWizardBlockSelection, albaWizardBlockTypeCheck, and albaWizardBlockYesNoSelection.
|
inlinevirtual |
Called to clean up memory.
Definition at line 65 of file albaWizardBlock.h.
albaString albaWizardBlock::GetDescriptionLabel | ( | ) |
Get a Label containing a description of the the current step.
void albaWizardBlock::SetDescriptionLabel | ( | const char * | label | ) |
Set a Label containing a description of the the current step.
void albaWizardBlock::SetNextBlockOnAbort | ( | const char * | label | ) |
Set a Label containing a description of the the current step.
|
virtual |
Abort the execution of the block.
|
inline |
Set the progress associated to this block.
Definition at line 80 of file albaWizardBlock.h.
|
inline |
Get the progress associated to this block.
Definition at line 83 of file albaWizardBlock.h.
|
protectedvirtual |
Starts the execution of the block.
Reimplemented in albaWizardBlockFileExistCheck, albaWizardBlockInformation, albaWizardBlockOperation, albaWizardBlockSelection, albaWizardBlockTypeCheck, albaWizardBlockVMEFindOrSelection, albaWizardBlockVMESelection, and albaWizardBlockYesNoSelection.
|
protectedvirtual |
Ends the execution of the block.
Reimplemented in albaWizardBlockOperation.
|
protected |
Set the selected VME, this function must be called before execution begin.
|
protected |
Sets The event listener.
|
protected |
Return true if the user has aborted the operation.
|
protectedvirtual |
Returns the name of the operation required by this block Return an empty string if no operation is required.
Reimplemented in albaWizardBlockOperation.
|
friend |
Definition at line 120 of file albaWizardBlock.h.
|
protected |
Definition at line 106 of file albaWizardBlock.h.
|
protected |
Definition at line 107 of file albaWizardBlock.h.
|
protected |
Definition at line 108 of file albaWizardBlock.h.
|
protected |
Definition at line 109 of file albaWizardBlock.h.
|
protected |
Pointer to the current selected node.
Definition at line 110 of file albaWizardBlock.h.
|
protected |
The vme selected on operation start.
Definition at line 111 of file albaWizardBlock.h.
|
protected |
Definition at line 112 of file albaWizardBlock.h.
|
protected |
Definition at line 113 of file albaWizardBlock.h.
|
protected |
Definition at line 114 of file albaWizardBlock.h.
|
protected |
Definition at line 115 of file albaWizardBlock.h.
|
protected |
Definition at line 116 of file albaWizardBlock.h.