150 DECLARE_EVENT_TABLE()
167 cb_unused
bool refresh)
override 179 cb_unused
const wxString &workspaceTitle)
override 184 cb_unused
bool dontsavefiles =
false)
override void FinishLoadingWorkspace(cbProject *activeProject, const wxString &workspaceTitle)
void OnViewFileMasks(wxCommandEvent &event)
void MoveProjectDown(cbProject *project, bool warpAround=false)
Move a project down in the project manager tree.
void RemoveFilesRecursively(wxTreeItemId &sel_id)
bool QueryCloseWorkspace()
Asks user to save the workspace, projects and files (Yes/No/cancel).
bool QueryCloseAllProjects()
Checks whether all projects are saved.
void ShowFileInTree(ProjectFile &projectFile)
void OnSaveProject(wxCommandEvent &event)
void OnOpenWith(wxCommandEvent &event)
void OnAddFilesToProjectRecursively(wxCommandEvent &event)
void RemoveProject(cb_unused cbProject *project) override
void SwitchToProjectsPage() override
Switches the management's notebook to the Projects tab.
void OnRenameVirtualFolder(wxCommandEvent &event)
void OnViewCategorize(wxCommandEvent &event)
void MoveProjectUp(cbProject *project, bool warpAround=false)
Move a project up in the project manager tree.
bool QueryCloseProject(cb_unused cbProject *proj, cb_unused bool dontsavefiles=false) override
void UnfreezeTree(bool force=false)
Le the tree control be updated again.
void RemoveProject(cbProject *project)
void OnIdle(wxIdleEvent &event)
wxTreeItemId m_RightClickItem
int AskForBuildTargetIndex(cb_unused cbProject *project=nullptr) override
bool m_isCheckingForExternallyModifiedProjects
cbAuiNotebook * GetNotebook() override
void RebuildTree() override
Rebuild the project manager's tree.
void OnSetActiveProject(wxCommandEvent &event)
void UpdateActiveProject(cbProject *oldProject, cbProject *newProject, bool refresh)
void OnTreeEndDrag(wxTreeEvent &event)
void OnCloseFile(wxCommandEvent &event)
void FinishLoadingProject(cb_unused cbProject *project, cb_unused bool newAddition, cb_unused FilesGroupsAndMasks *fileGroups) override
void OnNotes(wxCommandEvent &event)
void OnTabPosition(wxCommandEvent &event)
void OnFileOptions(wxCommandEvent &event)
Represents a file in a Code::Blocks project.
void DoOpenSelectedFile()
void SwitchToProjectsPage()
Switches the management's notebook to the Projects tab.
cbTreeCtrl * GetTree() override
Retrieve a pointer to the project manager's tree (GUI).
void OnSaveFile(wxCommandEvent &event)
void OnCloseWorkspace(wxCommandEvent &event)
void OnBeginEditNode(wxTreeEvent &event)
cbAuiNotebook * m_pNotebook
void BuildProjectTree(cbProject *project, cbTreeCtrl *tree, const wxTreeItemId &root, int ptvs, FilesGroupsAndMasks *fgam)
(Re)build the project tree.
void OnRightClick(wxCommandEvent &event)
cbAuiNotebook * GetNotebook()
void BeginLoadingWorkspace() override
Represents a Code::Blocks project.
void UnfreezeTree(cb_unused bool force=false) override
void OnViewHideFolderName(wxCommandEvent &event)
void DoOpenFile(ProjectFile *pf, const wxString &filename)
void UpdateActiveProject(cb_unused cbProject *oldProject, cb_unused cbProject *newProject, cb_unused bool refresh) override
wxArrayTreeItemIds m_DraggingSelection
void OpenFilesRecursively(wxTreeItemId &sel_id)
void OnViewUseFolders(wxCommandEvent &event)
bool QueryCloseAllProjects() override
Checks whether all projects are saved.
void OnFindFile(wxCommandEvent &event)
void CloseWorkspace() override
void RebuildTree()
Rebuild the project manager's tree.
void OnRenameFile(wxCommandEvent &event)
void OnProjectFileActivated(wxTreeEvent &event)
void OnProperties(wxCommandEvent &event)
void CheckForExternallyModifiedProjects()
void OnExecParameters(wxCommandEvent &event)
void OnRenameWorkspace(wxCommandEvent &event)
int AskForBuildTargetIndex(cbProject *project)
Utility function.
void OnOpenFile(wxCommandEvent &event)
void OnGotoFile(wxCommandEvent &event)
void FreezeTree()
Stop the tree control from updating.
void ShowFileInTree(cb_unused ProjectFile &projectFile) override
void OnSaveAsWorkspace(wxCommandEvent &event)
void BeginLoadingWorkspace()
wxArray< int > wxArrayInt
void OnOpenFolderFiles(wxCommandEvent &event)
bool QueryCloseProject(cbProject *project, bool dontsavefiles)
Checks whether project is saved.
void OnAddFileToProject(wxCommandEvent &event)
A notebook class This class is derived from wxAuiNotebook, to enhance its abilities.
wxTreeItemId GetTreeSelection() override
Get the selection of the project manager's tree (GUI).
void OnCloseProject(wxCommandEvent &event)
void OnRemoveFileFromProject(wxCommandEvent &event)
void OnEndEditNode(wxTreeEvent &event)
void OnDeleteVirtualFolder(wxCommandEvent &event)
void OnKeyDown(wxTreeEvent &event)
void OnSaveWorkspace(wxCommandEvent &event)
void FreezeTree() override
Stop the tree control from updating.
void OnTreeItemRightClick(wxTreeEvent &event)
void FinishLoadingProject(cbProject *project, bool newAddition, cb_unused FilesGroupsAndMasks *fgam)
void FinishLoadingWorkspace(cb_unused cbProject *activeProject, cb_unused const wxString &workspaceTitle) override
cbTreeCtrl * GetTree()
Retrieve a pointer to the project manager's tree (GUI).
void OnUpdateUI(wxUpdateUIEvent &event)
bool QueryCloseWorkspace() override
Asks user to save the workspace, projects and files (Yes/No/cancel).
wxTreeItemId GetTreeSelection()
Get the selection of the project manager's tree (GUI).
void OnAddVirtualFolder(wxCommandEvent &event)
void OnTreeBeginDrag(wxTreeEvent &event)
Almost empty implementation used in batch mode.
wxArrayString ListNodes(wxTreeItemId node) const