32
32
#include "debugger/ctlStackWindow.h"
33
33
#include "debugger/ctlResultGrid.h"
35
WX_DECLARE_HASH_MAP( int, int, wxIntegerHash, wxIntegerEqual, wsTabHash );
35
WX_DECLARE_HASH_MAP(int, int, wxIntegerHash, wxIntegerEqual, wsTabHash);
37
37
class ctlTabWindow : public ctlAuiNotebook
39
DECLARE_CLASS( ctlTabWindow )
39
DECLARE_CLASS(ctlTabWindow)
43
ctlTabWindow(wxWindow *parent, wxWindowID id, const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize, long style = wxCLIP_CHILDREN | wxSW_3D, const wxString &name = wxT( "layoutWindow" ));
45
ctlVarWindow *getVarWindow( bool create = true ); // Returns a pointer to the local-variables window (creates it if requested)
46
ctlVarWindow *getPkgVarWindow( bool create = true ); // Returns a pointer to the package-variables window (creates it if requested)
47
ctlVarWindow *getParamWindow( bool create = true ); // Returns a pointer to the parameters window (creates it if requested)
49
ctlResultGrid *getResultWindow( void ); // Returns a pointer to the result window (creates it if necessary)
50
ctlStackWindow *getStackWindow( void ); // Returns a pointer to the stack-trace window (creates it if necessary)
51
ctlMessageWindow *getMessageWindow( void ); // Returns a pointer to the DBMS messages window (creates it if necessary)
52
void selectTab( wxWindowID id );
43
ctlTabWindow(wxWindow *parent, wxWindowID id,
44
const wxPoint &pos = wxDefaultPosition, const wxSize &size = wxDefaultSize,
45
long style = wxCLIP_CHILDREN | wxSW_3D,
46
const wxString &name = wxT("layoutWindow"));
48
ctlVarWindow *GetVarWindow(bool create = true); // Returns a pointer to the local-variables window (creates it if requested)
49
ctlVarWindow *GetPkgVarWindow(bool create = true); // Returns a pointer to the package-variables window (creates it if requested)
50
ctlVarWindow *GetParamWindow(bool create = true); // Returns a pointer to the parameters window (creates it if requested)
52
ctlResultGrid *GetResultWindow(); // Returns a pointer to the result window (creates it if necessary)
53
ctlStackWindow *GetStackWindow(); // Returns a pointer to the stack-trace window (creates it if necessary)
54
ctlMessageWindow *GetMessageWindow(); // Returns a pointer to the DBMS messages window (creates it if necessary)
55
void SelectTab(wxWindowID id);
55
ctlResultGrid *m_resultWindow; // Displays the result set from a query
56
ctlVarWindow *m_varWindow; // Displays the local variables when debugging a PL function
57
ctlVarWindow *m_pkgVarWindow; // Displays the package variables when debugging a PL function
58
ctlStackWindow *m_stackWindow; // Displays the current call stack
59
ctlVarWindow *m_paramWindow; // Displays the parameters when debugging a PL function
60
ctlMessageWindow *m_messageWindow; // Displays the DBMS messages when debugging a PL function
58
ctlResultGrid *m_resultWindow; // Displays the result set from a query
59
ctlVarWindow *m_varWindow; // Displays the local variables when debugging a PL function
60
ctlVarWindow *m_pkgVarWindow; // Displays the package variables when debugging a PL function
61
ctlStackWindow *m_stackWindow; // Displays the current call stack
62
ctlVarWindow *m_paramWindow; // Displays the parameters when debugging a PL function
63
ctlMessageWindow *m_messageWindow; // Displays the DBMS messages when debugging a PL function
62
wsTabHash *m_tabMap; // Map window ID's to tab numbers;
65
wsTabHash *m_tabMap; // Map window ID's to tab numbers;