ALBA
|
#include <albaWizardBlockTypeCheck.h>
Public Member Functions | |
albaWizardBlockTypeCheck (const char *name) | |
~albaWizardBlockTypeCheck () | |
void | SetWindowTitle (const char *Title) |
wxString | GetWindowTitle () |
void | VmeSelect (const char *path) |
wxString | GetVmeSelect () |
void | SetDescription (const char *description) |
wxString | GetDescription () |
void | AddAcceptedType (const char *label) |
std::vector< wxString > * | GetAcceptedTypeList () |
void | SetWrongTypeNextBlock (const char *block) |
wxString | GetWrongTypeNextBlock () |
wxString | GetNextBlock () |
void | EnableErrorMessage (bool enabled) |
bool | IsErrorMessageEnabled () |
Public Member Functions inherited from albaWizardBlock | |
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 () |
Protected Member Functions inherited from albaWizardBlock | |
virtual void | ExcutionBegin () |
virtual void | ExcutionEnd () |
void | SetSelectedVME (albaVME *node) |
void | SetListener (albaObserver *Listener) |
int | Success () |
virtual wxString | GetRequiredOperation () |
Additional Inherited Members | |
Protected Attributes inherited from albaWizardBlock | |
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 |
Class Name: albaWizardTypeCheckBlock.
Class for create a type check block, if the selected VME is wrong the wizard will be aborted.
Definition at line 36 of file albaWizardBlockTypeCheck.h.
albaWizardBlockTypeCheck::albaWizardBlockTypeCheck | ( | const char * | name | ) |
Default constructor.
albaWizardBlockTypeCheck::~albaWizardBlockTypeCheck | ( | ) |
Default destructor.
void albaWizardBlockTypeCheck::SetWindowTitle | ( | const char * | Title | ) |
Set The title of the window showed when the type check was not
|
inline |
Get The title of the window showed when the type check was not
Definition at line 50 of file albaWizardBlockTypeCheck.h.
void albaWizardBlockTypeCheck::VmeSelect | ( | const char * | path | ) |
Set the path for VME selection.
|
inline |
Get the path for VME selection.
Definition at line 56 of file albaWizardBlockTypeCheck.h.
void albaWizardBlockTypeCheck::SetDescription | ( | const char * | description | ) |
Set The title of the selection window.
|
inline |
Get The title of the selection window.
Definition at line 62 of file albaWizardBlockTypeCheck.h.
void albaWizardBlockTypeCheck::AddAcceptedType | ( | const char * | label | ) |
Add a new accepted type.
Uses the string of VME type.
|
inline |
Returns the list of accepted types.
Definition at line 70 of file albaWizardBlockTypeCheck.h.
void albaWizardBlockTypeCheck::SetWrongTypeNextBlock | ( | const char * | block | ) |
Set name of the Block called after wrong check.
By default is set to "END" and the wizard will closed on wrong check.
|
inline |
Get name of the Block called after wrong check.
Definition at line 77 of file albaWizardBlockTypeCheck.h.
|
virtual |
Return the name of the Block witch will be executed after this.
Reimplemented from albaWizardBlock.
|
inline |
Enable/disable the visualization of error message box.
Definition at line 83 of file albaWizardBlockTypeCheck.h.
|
inline |
Return true if error message show is enabled.
Definition at line 86 of file albaWizardBlockTypeCheck.h.
|
protectedvirtual |
Starts the execution of the block.
Reimplemented from albaWizardBlock.