ALBA
albaWizardBlockOperation.h
Go to the documentation of this file.
1/*=========================================================================
2
3 Program: ALBA (Agile Library for Biomedical Applications)
4 Module: albaWizardBlockOperation
5 Authors: Gianluigi Crimi
6
7 Copyright (c) BIC
8 All rights reserved. See Copyright.txt or
9
10
11 This software is distributed WITHOUT ANY WARRANTY; without even
12 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 PURPOSE. See the above copyright notice for more information.
14
15=========================================================================*/
16
17#ifndef __albaWizardBlockOperation_H__
18#define __albaWizardBlockOperation_H__
19
20//----------------------------------------------------------------------------
21// includes :
22//----------------------------------------------------------------------------
23#include "albaDefines.h"
24#include "albaWizardBlock.h"
25
26//----------------------------------------------------------------------------
27// forward reference
28//----------------------------------------------------------------------------
29
40class ALBA_EXPORT albaWizardBlockOperation : public albaWizardBlock
41{
42public:
43
45 albaWizardBlockOperation(const char *name);
46
49
51 void SetRequiredView(const char *View);
52
54 wxString GetRequiredView();
55
57 void ResizeView(double x, double y, double width, double height);
58
60 void TileWindows( const char *tile_windows );
61
63 void SetViewToDelete(const char *View);
64
66 void VmeSelect(const char *path);
67
69 wxString GetVmeSelect(){return m_VmeSelect;};
70
74 void VmeShowAdd(const char *path);
75
77 std::vector < wxString > *GetVmeShowList(){return &m_VmeShow;};
78
82 void VmeHideAdd(const char *path);
83
85 std::vector < wxString > *GetVmeHideList(){return &m_VmeHide;};
86
97 void SetRequiredOperation(const char *name);
98
102
103
106 void SetAutoShowSelectedVME(bool autoShow);
107
110protected:
111
112
115
118
119private:
120
121 wxString m_Operation;
122 wxString m_RequiredView;
123 wxString m_VmeSelect;
124 bool m_AutoShowSelectedVME;
125 std::vector < wxString > m_VmeShow;
126 std::vector < wxString > m_VmeHide;
127 albaString m_viewtodelete;
128 bool m_viewhastobedeleted;
129 albaString m_tile_windows;
130 bool m_windowhastoberesized;
131 bool m_windowhastobetiled;
132 double m_x;
133 double m_y;
134 double m_width;
135 double m_height;
136};
137#endif
albaString - performs common string operations on c-strings.
Definition: albaString.h:43
Class Name: albaWizardOperaiontionBlock.
bool GetAutoShowSelectedVME()
Get Auto Show Selected VME status.
~albaWizardBlockOperation()
Default destructor.
void VmeSelect(const char *path)
Set the path for VME selection.
void SetAutoShowSelectedVME(bool autoShow)
If Set Auto Show Selected VME to false the selected vme will not auto showed before operation start.
wxString GetVmeSelect()
Get the path for VME selection.
albaWizardBlockOperation(const char *name)
Default constructor.
void SetRequiredView(const char *View)
Set The name of the operation required view.
void SetRequiredOperation(const char *name)
Set the name of the operation required by this block Set to an empty string to obtain only show and s...
void VmeShowAdd(const char *path)
Set the path of the VMEs that is need to show for the operation.
wxString GetRequiredOperation()
Returns the name of the operation required by this block Return an empty string if no operation is re...
wxString GetRequiredView()
Get The name of the operation required view.
void ExcutionBegin()
Starts the execution of the block.
void ResizeView(double x, double y, double width, double height)
Resize and reposition the View.
void VmeHideAdd(const char *path)
Set the path of the VMEs that is need to hide after the operation.
void SetViewToDelete(const char *View)
Set The name of the required view to delete.
std::vector< wxString > * GetVmeShowList()
Returns the list of vme to show.
void TileWindows(const char *tile_windows)
Tile windows horizontally, vertically or in cascade mode.
void ExcutionEnd()
Ends the execution of the block.
std::vector< wxString > * GetVmeHideList()
Returns the list of vme to Hide.
Class Name: albaWizardBlock.