1 #ifndef GUI_FRAMEWORK___DIAG_PANEL_HPP
2 #define GUI_FRAMEWORK___DIAG_PANEL_HPP
51 #include <wx/imaglist.h>
54 #include <wx/toolbar.h>
55 #include <wx/listctrl.h>
62 #define ID_CWXDIAGPANEL 10030
63 #define ID_TOOLBAR2 10039
64 #define ID_TOOL_ERRORS 10040
65 #define ID_TOOL_WARNINGS 10041
66 #define ID_TOOL_INFO 10042
67 #define ID_TOOL_OTHER 10043
68 #define ID_CHOICE3 10044
69 #define ID_LISTCTRL1 10037
70 #define SYMBOL_CWXDIAGPANEL_STYLE 0
71 #define SYMBOL_CWXDIAGPANEL_TITLE wxT("Diagnostics Console")
72 #define SYMBOL_CWXDIAGPANEL_IDNAME ID_CWXDIAGPANEL
73 #define SYMBOL_CWXDIAGPANEL_SIZE wxSize(400, 300)
74 #define SYMBOL_CWXDIAGPANEL_POSITION wxDefaultPosition
94 bool Create(wxWindow* parent,
101 void CreateControls();
110 void OnToolErrorsClick( wxCommandEvent& event );
111 void OnToolWarningsClick( wxCommandEvent& event );
112 void OnToolInfoClick( wxCommandEvent& event );
113 void OnToolOtherClick( wxCommandEvent& event );
114 void OnChoice3Selected( wxCommandEvent& event );
116 void OnCopy( wxCommandEvent& event );
117 void OnCopyUpdateUI( wxUpdateUIEvent& event );
122 wxBitmap GetBitmapResource(
const wxString& name);
126 void x_LoadMessages();
156 virtual void SetWorkbench(
IWorkbench* workbench);
157 virtual void CreateViewWindow(wxWindow* parent);
158 virtual void DestroyViewWindow();
163 virtual wxWindow* GetWindow();
166 virtual string GetIconAlias()
const;
169 virtual const wxMenu* GetMenu();
170 virtual void UpdateMenu( wxMenu& root_menu );
171 virtual CFingerprint GetFingerprint()
const;
200 virtual string GetExtensionIdentifier()
const;
201 virtual string GetExtensionLabel()
const;
208 virtual IView* CreateInstance()
const;
209 virtual IView* CreateInstanceByFingerprint(
const TFingerprint& fingerprint)
const;
class CRgbaColor provides a simple abstraction for managing colors.
CViewTypeDescriptor - holds description of a view type.
IExtension IExtension interface represents an abstract pluggable component.
IRegSettings An interface for objects that save / restore settings using CGuiRegistry.
virtual void SaveSettings() const =0
virtual void LoadSettings()=0
virtual void SetRegistryPath(const string &path)=0
IViewFactory - view factory for use with IViewManagerService.
IView - represents a standard visual part of Workbench UI.
CFingerprint identifies an instance of IWMClient and is used for labeling layout positions.
IWClient - abstract Window Manager client.
ELabel
Different flavors of label types for different GUI aspects.
IWorkbench is the central interface in the application framework.
GUI command routing and handling framework.
Include a standard set of the NCBI C++ Toolkit most basic headers.
CRgbaColor & GetColor(CSeqFeatData::ESubtype subtype)
#define SYMBOL_CWXDIAGPANEL_STYLE
#define SYMBOL_CWXDIAGPANEL_SIZE
void SetLogBufferIndex(int value)
static bool m_IconsInitialized
CDiagConsolePanel.
#define SYMBOL_CWXDIAGPANEL_POSITION
#define SYMBOL_CWXDIAGPANEL_IDNAME
CDiagConsolePanel * m_Panel
CDiagConsoleList * m_MsgList
int GetLogBufferIndex() const
virtual wxEvtHandler * GetCommandHandler()
returns a pointer to the command handler (for menu commands and updates)
static CViewTypeDescriptor m_TypeDescr
CDiagConsoleView.
#define END_NCBI_SCOPE
End previously defined NCBI scope.
#define BEGIN_NCBI_SCOPE
Define ncbi namespace.
#define NCBI_GUIFRAMEWORK_EXPORT
Defines to provide correct exporting from DLLs in Windows.
const struct ncbi::grid::netcache::search::fields::SIZE size
const GenericPointer< typename T::ValueType > T2 value