Code::Blocks
SVN r11506
|
#include <breakpointsdlg.h>
Classes | |
struct | Item |
Public Member Functions | |
BreakpointsDlg () | |
wxWindow * | GetWindow () |
bool | AddBreakpoint (cbDebuggerPlugin *plugin, const wxString &filename, int line) |
bool | RemoveBreakpoint (cbDebuggerPlugin *plugin, const wxString &filename, int line) |
void | RemoveAllBreakpoints () |
void | EditBreakpoint (const wxString &filename, int line) |
void | EnableBreakpoint (const wxString &filename, int line, bool enable) |
void | Reload () |
Public Member Functions inherited from cbBreakpointsDlg | |
virtual | ~cbBreakpointsDlg () |
Private Types | |
enum | Columns { Type = 0, FilenameAddress, Line, Info, Debugger } |
typedef std::vector< Item > | Items |
Private Member Functions | |
void | OnRemove (wxCommandEvent &event) |
void | OnRemoveAll (wxCommandEvent &event) |
void | OnProperties (wxCommandEvent &event) |
void | OnOpen (wxCommandEvent &event) |
void | OnEnable (wxCommandEvent &event) |
void | OnShowTemp (wxCommandEvent &event) |
void | OnRightClick (wxListEvent &event) |
void | OnDoubleClick (wxListEvent &event) |
void | OnBreakpointAdd (CodeBlocksEvent &event) |
void | OnBreakpointEdit (CodeBlocksEvent &event) |
void | OnKeyUp (wxKeyEvent &event) |
void | OnUpdateUI (wxUpdateUIEvent &event) |
Items::iterator | FindBreakpoint (const wxString &filename, int line) |
void | BreakpointProperties (const Item &item) |
Private Attributes | |
wxListCtrl * | m_pList |
Items | m_breakpoints |
wxImageList | m_icons |
Friends | |
struct | FindBreakpointPred |
Definition at line 24 of file breakpointsdlg.h.
|
private |
Definition at line 77 of file breakpointsdlg.h.
|
private |
Enumerator | |
---|---|
Type | |
FilenameAddress | |
Line | |
Info | |
Debugger |
Definition at line 53 of file breakpointsdlg.h.
BreakpointsDlg::BreakpointsDlg | ( | ) |
Definition at line 69 of file breakpointsdlg.cpp.
References _(), wxBoxSizer::Add(), cbLoadBitmap(), ConfigManager::GetDataFolder(), wxBitmap::IsOk(), OnDoubleClick(), OnRightClick(), wxALL, wxBITMAP_TYPE_PNG, wxDefaultPosition, wxDefaultSize, wxEXPAND, wxIMAGE_LIST_SMALL, wxLC_HRULES, wxLC_REPORT, wxLC_VRULES, wxLIST_FORMAT_LEFT, wxT, and wxVERTICAL.
|
virtual |
Implements cbBreakpointsDlg.
Definition at line 171 of file breakpointsdlg.cpp.
References cbDebuggerPlugin::AddBreakpoint(), and Reload().
Referenced by GetWindow().
|
private |
Definition at line 312 of file breakpointsdlg.cpp.
References BreakpointsDlg::Item::breakpoint, Manager::Get(), Manager::GetEditorManager(), EditorManager::IsBuiltinOpen(), BreakpointsDlg::Item::plugin, cbEditor::RefreshBreakpointMarkers(), Reload(), and cbDebuggerPlugin::UpdateBreakpoint().
Referenced by EditBreakpoint(), and OnProperties().
|
virtual |
Implements cbBreakpointsDlg.
Definition at line 248 of file breakpointsdlg.cpp.
References BreakpointProperties(), FindBreakpoint(), and m_breakpoints.
Referenced by GetWindow().
|
virtual |
Implements cbBreakpointsDlg.
Definition at line 255 of file breakpointsdlg.cpp.
References FindBreakpoint(), Manager::Get(), Manager::GetEditorManager(), EditorManager::IsBuiltinOpen(), m_breakpoints, cbEditor::RefreshBreakpointMarkers(), and Reload().
Referenced by GetWindow().
|
private |
Definition at line 158 of file breakpointsdlg.cpp.
References m_breakpoints.
Referenced by EditBreakpoint(), and EnableBreakpoint().
|
inlinevirtual |
Implements cbBreakpointsDlg.
Definition at line 29 of file breakpointsdlg.h.
References AddBreakpoint(), EditBreakpoint(), EnableBreakpoint(), OnBreakpointAdd(), OnBreakpointEdit(), OnDoubleClick(), OnEnable(), OnKeyUp(), OnOpen(), OnProperties(), OnRemove(), OnRemoveAll(), OnRightClick(), OnShowTemp(), OnUpdateUI(), Reload(), RemoveAllBreakpoints(), and RemoveBreakpoint().
|
private |
Definition at line 401 of file breakpointsdlg.cpp.
References cbDebuggerPlugin::AddBreakpoint(), Manager::Get(), DebuggerManager::GetActiveDebugger(), Manager::GetDebuggerManager(), and Reload().
Referenced by GetWindow().
|
private |
Definition at line 411 of file breakpointsdlg.cpp.
References Manager::Get(), EditorManager::GetEditor(), Manager::GetEditorManager(), EditorBase::IsBuiltinEditor(), m_breakpoints, and Reload().
Referenced by GetWindow().
|
private |
Definition at line 386 of file breakpointsdlg.cpp.
References OnOpen().
Referenced by BreakpointsDlg(), and GetWindow().
|
private |
Definition at line 446 of file breakpointsdlg.cpp.
References BreakpointsDlg::Item::breakpoint, cbDebuggerPlugin::EnableBreakpoint(), Manager::Get(), Manager::GetEditorManager(), wxListCtrl::GetNextItem(), EditorManager::IsBuiltinOpen(), m_breakpoints, m_pList, BreakpointsDlg::Item::plugin, Reload(), wxLIST_NEXT_ALL, and wxLIST_STATE_SELECTED.
Referenced by GetWindow().
|
private |
Definition at line 392 of file breakpointsdlg.cpp.
References wxKeyEvent::GetKeyCode(), OnRemove(), WXK_DELETE, and WXK_NUMPAD_DELETE.
Referenced by GetWindow().
|
private |
Definition at line 324 of file breakpointsdlg.cpp.
References EditorBase::Activate(), BreakpointsDlg::Item::breakpoint, Manager::Get(), Manager::GetEditorManager(), wxListCtrl::GetNextItem(), cbEditor::GotoLine(), m_breakpoints, m_pList, EditorManager::Open(), wxLIST_NEXT_ALL, and wxLIST_STATE_SELECTED.
Referenced by GetWindow(), and OnDoubleClick().
|
private |
Definition at line 304 of file breakpointsdlg.cpp.
References BreakpointProperties(), wxListCtrl::GetNextItem(), m_breakpoints, m_pList, wxLIST_NEXT_ALL, and wxLIST_STATE_SELECTED.
Referenced by GetWindow().
|
private |
Definition at line 271 of file breakpointsdlg.cpp.
References BreakpointsDlg::Item::breakpoint, cbDebuggerPlugin::DeleteBreakpoint(), Manager::Get(), Manager::GetEditorManager(), wxListCtrl::GetNextItem(), EditorManager::IsBuiltinOpen(), m_breakpoints, m_pList, BreakpointsDlg::Item::plugin, Reload(), wxLIST_NEXT_ALL, and wxLIST_STATE_SELECTED.
Referenced by GetWindow(), and OnKeyUp().
|
private |
Definition at line 299 of file breakpointsdlg.cpp.
References RemoveAllBreakpoints().
Referenced by GetWindow().
|
private |
Definition at line 343 of file breakpointsdlg.cpp.
References _(), wxMenu::Append(), wxMenu::AppendCheckItem(), wxMenu::AppendSeparator(), wxMenu::Enable(), wxListCtrl::GetItemCount(), wxListCtrl::GetNextItem(), idProperties, m_breakpoints, m_pList, wxLIST_NEXT_ALL, and wxLIST_STATE_SELECTED.
Referenced by BreakpointsDlg(), and GetWindow().
|
private |
Definition at line 433 of file breakpointsdlg.cpp.
References cbDebuggerCommonConfig::GetFlag(), Reload(), cbDebuggerCommonConfig::SetFlag(), and cbDebuggerCommonConfig::ShowTemporaryBreakpoints.
Referenced by GetWindow().
|
private |
Definition at line 440 of file breakpointsdlg.cpp.
References wxUpdateUIEvent::Check(), cbDebuggerCommonConfig::GetFlag(), and cbDebuggerCommonConfig::ShowTemporaryBreakpoints.
Referenced by GetWindow().
|
virtual |
Implements cbBreakpointsDlg.
Definition at line 110 of file breakpointsdlg.cpp.
References _T, Debugger, wxListCtrl::DeleteAllItems(), FilenameAddress, Manager::Get(), DebuggerManager::GetActiveDebugger(), DebuggerManager::GetAllDebuggers(), wxListCtrl::GetColumnCount(), Manager::GetDebuggerManager(), cbDebuggerCommonConfig::GetFlag(), wxListCtrl::GetItemCount(), Info, wxListCtrl::InsertItem(), Line, m_breakpoints, m_pList, wxListCtrl::SetColumnWidth(), wxListCtrl::SetItem(), cbDebuggerCommonConfig::ShowTemporaryBreakpoints, Type, and wxLIST_AUTOSIZE.
Referenced by AddBreakpoint(), BreakpointProperties(), EnableBreakpoint(), GetWindow(), OnBreakpointAdd(), OnBreakpointEdit(), OnEnable(), OnRemove(), OnShowTemp(), RemoveAllBreakpoints(), and RemoveBreakpoint().
|
virtual |
Implements cbBreakpointsDlg.
Definition at line 218 of file breakpointsdlg.cpp.
References Manager::Get(), Manager::GetEditorManager(), cbBreakpoint::GetLocation(), EditorManager::IsBuiltinOpen(), cbBreakpoint::IsVisibleInEditor(), m_breakpoints, and Reload().
Referenced by GetWindow(), and OnRemoveAll().
|
virtual |
Implements cbBreakpointsDlg.
Definition at line 202 of file breakpointsdlg.cpp.
References FindBreakpointPred, m_breakpoints, and Reload().
Referenced by GetWindow().
|
friend |
Definition at line 62 of file breakpointsdlg.h.
Referenced by RemoveBreakpoint().
|
private |
Definition at line 84 of file breakpointsdlg.h.
Referenced by EditBreakpoint(), EnableBreakpoint(), FindBreakpoint(), OnBreakpointEdit(), OnEnable(), OnOpen(), OnProperties(), OnRemove(), OnRightClick(), Reload(), RemoveAllBreakpoints(), and RemoveBreakpoint().
|
private |
Definition at line 85 of file breakpointsdlg.h.
|
private |
Definition at line 83 of file breakpointsdlg.h.
Referenced by OnEnable(), OnOpen(), OnProperties(), OnRemove(), OnRightClick(), and Reload().