ALBA
|
#include <albaWizardBlockOperation.h>
Public Member Functions | |
albaWizardBlockOperation (const char *name) | |
~albaWizardBlockOperation () | |
void | SetRequiredView (const char *View) |
wxString | GetRequiredView () |
void | ResizeView (double x, double y, double width, double height) |
void | TileWindows (const char *tile_windows) |
void | SetViewToDelete (const char *View) |
void | VmeSelect (const char *path) |
wxString | GetVmeSelect () |
void | VmeShowAdd (const char *path) |
std::vector< wxString > * | GetVmeShowList () |
void | VmeHideAdd (const char *path) |
std::vector< wxString > * | GetVmeHideList () |
void | SetRequiredOperation (const char *name) |
wxString | GetRequiredOperation () |
void | SetAutoShowSelectedVME (bool autoShow) |
bool | GetAutoShowSelectedVME () |
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 | |
void | ExcutionBegin () |
void | ExcutionEnd () |
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: albaWizardOperaiontionBlock.
Class for operation block inside the wizard This classes manage all the operation required to run an operation Open the view Required by the op (if necesary) Selects the input VME Show other useful VME Run the operation Hide some VME after operation termination
Definition at line 40 of file albaWizardBlockOperation.h.
albaWizardBlockOperation::albaWizardBlockOperation | ( | const char * | name | ) |
Default constructor.
albaWizardBlockOperation::~albaWizardBlockOperation | ( | ) |
Default destructor.
void albaWizardBlockOperation::SetRequiredView | ( | const char * | View | ) |
Set The name of the operation required view.
wxString albaWizardBlockOperation::GetRequiredView | ( | ) |
Get The name of the operation required view.
void albaWizardBlockOperation::ResizeView | ( | double | x, |
double | y, | ||
double | width, | ||
double | height | ||
) |
Resize and reposition the View.
void albaWizardBlockOperation::TileWindows | ( | const char * | tile_windows | ) |
Tile windows horizontally, vertically or in cascade mode.
void albaWizardBlockOperation::SetViewToDelete | ( | const char * | View | ) |
Set The name of the required view to delete.
void albaWizardBlockOperation::VmeSelect | ( | const char * | path | ) |
Set the path for VME selection.
|
inline |
Get the path for VME selection.
Definition at line 69 of file albaWizardBlockOperation.h.
void albaWizardBlockOperation::VmeShowAdd | ( | const char * | path | ) |
Set the path of the VMEs that is need to show for the operation.
The path starts from the selected vme. Multiple calls to this function correspond on multiple VME show.
|
inline |
Returns the list of vme to show.
Definition at line 77 of file albaWizardBlockOperation.h.
void albaWizardBlockOperation::VmeHideAdd | ( | const char * | path | ) |
Set the path of the VMEs that is need to hide after the operation.
The path starts from the selected vme. Multiple calls to this function correspond on multiple VME show
|
inline |
Returns the list of vme to Hide.
Definition at line 85 of file albaWizardBlockOperation.h.
void albaWizardBlockOperation::SetRequiredOperation | ( | const char * | name | ) |
Set the name of the operation required by this block Set to an empty string to obtain only show and selections There are some wizard special operations: SAVE Save the msf SAVE_AS Save the msf with name OPEN an msf DELETE delete a VME (and his children) from tree NEW create a new, empty msf PAUSE open an operation with only one "next step" button RELOAD reload current msf, an msf must be loaded or saved before operation call.
|
virtual |
Returns the name of the operation required by this block Return an empty string if no operation is required.
Reimplemented from albaWizardBlock.
void albaWizardBlockOperation::SetAutoShowSelectedVME | ( | bool | autoShow | ) |
If Set Auto Show Selected VME to false the selected vme will not auto showed before operation start.
bool albaWizardBlockOperation::GetAutoShowSelectedVME | ( | ) |
Get Auto Show Selected VME status.
|
protectedvirtual |
Starts the execution of the block.
Reimplemented from albaWizardBlock.
|
protectedvirtual |
Ends the execution of the block.
Reimplemented from albaWizardBlock.