Code::Blocks
SVN r11506
|
#include <projectmanager.h>
Public Member Functions | |
virtual | ~cbProjectManagerUI () |
virtual cbAuiNotebook * | GetNotebook ()=0 |
virtual cbTreeCtrl * | GetTree ()=0 |
Retrieve a pointer to the project manager's tree (GUI). More... | |
virtual void | RebuildTree ()=0 |
Rebuild the project manager's tree. More... | |
virtual void | FreezeTree ()=0 |
Stop the tree control from updating. More... | |
virtual void | UnfreezeTree (bool force=false)=0 |
Le the tree control be updated again. More... | |
virtual wxTreeItemId | GetTreeSelection ()=0 |
Get the selection of the project manager's tree (GUI). More... | |
virtual void | ShowFileInTree (ProjectFile &projectFile)=0 |
virtual void | UpdateActiveProject (cbProject *oldProject, cbProject *newProject, bool refresh)=0 |
virtual void | RemoveProject (cbProject *project)=0 |
virtual void | BeginLoadingWorkspace ()=0 |
virtual void | CloseWorkspace ()=0 |
virtual void | FinishLoadingProject (cbProject *project, bool newAddition, FilesGroupsAndMasks *fileGroups)=0 |
virtual void | FinishLoadingWorkspace (cbProject *activeProject, const wxString &workspaceTitle)=0 |
virtual bool | QueryCloseAllProjects ()=0 |
Checks whether all projects are saved. More... | |
virtual bool | QueryCloseProject (cbProject *proj, bool dontsavefiles=false)=0 |
Checks whether project is saved. More... | |
virtual bool | QueryCloseWorkspace ()=0 |
Asks user to save the workspace, projects and files (Yes/No/cancel). More... | |
virtual int | AskForBuildTargetIndex (cbProject *project=nullptr)=0 |
Utility function. More... | |
virtual wxArrayInt | AskForMultiBuildTargetIndex (cbProject *project=nullptr)=0 |
Utility function. More... | |
virtual void | ConfigureProjectDependencies (cbProject *base=nullptr)=0 |
Displays a dialog to setup project dependencies. More... | |
virtual void | SwitchToProjectsPage ()=0 |
Switches the management's notebook to the Projects tab. More... | |
Definition at line 35 of file projectmanager.h.
|
inlinevirtual |
Definition at line 38 of file projectmanager.h.
|
pure virtual |
Utility function.
Displays a single selection list of a project's build targets to choose from.
project | The project to use. If NULL, the active project is used. |
Implemented in NullProjectManagerUI, and ProjectManagerUI.
|
pure virtual |
Utility function.
Displays a multiple selection list of a project's build targets to choose from.
project | The project to use. If NULL, the active project is used. |
Implemented in NullProjectManagerUI, and ProjectManagerUI.
Referenced by ProjectManager::DoAddFileToProject().
|
pure virtual |
Implemented in BatchProjectManagerUI, NullProjectManagerUI, and ProjectManagerUI.
Referenced by ProjectManager::BeginLoadingWorkspace().
|
pure virtual |
Implemented in BatchProjectManagerUI, NullProjectManagerUI, and ProjectManagerUI.
Referenced by ProjectManager::CloseWorkspace().
|
pure virtual |
Displays a dialog to setup project dependencies.
base | The project to setup its dependencies. Can be NULL (default) because there's a project selection combo in the dialog. |
Implemented in NullProjectManagerUI, and ProjectManagerUI.
Referenced by ProjectOptionsDlg::OnProjectDepsClick().
|
pure virtual |
Referenced by ProjectManager::EndLoadingProject().
|
pure virtual |
Implemented in ProjectManagerUI.
Referenced by ProjectManager::EndLoadingWorkspace().
|
pure virtual |
Stop the tree control from updating.
Implemented in BatchProjectManagerUI, NullProjectManagerUI, and ProjectManagerUI.
Referenced by ProjectManager::CloseAllProjects(), ProjectManager::ReloadProject(), and ProjectManager::SaveAllProjects().
|
pure virtual |
Implemented in BatchProjectManagerUI, NullProjectManagerUI, and ProjectManagerUI.
Referenced by NativeParser::CreateClassBrowser(), and NativeParser::RemoveClassBrowser().
|
pure virtual |
Retrieve a pointer to the project manager's tree (GUI).
Implemented in BatchProjectManagerUI, NullProjectManagerUI, and ProjectManagerUI.
Referenced by CompilerGCC::DoSwitchProjectTemporarily(), ProjectOptionsDlg::OnCreateImportFileClick(), CompilerGCC::OnProjectCompilerOptions(), CodeCompletion::OnSelectedFileReparse(), NativeParser::ReparseSelectedProject(), Wiz::RunProjectWizard(), and ProjectFile::SetFileState().
|
pure virtual |
Get the selection of the project manager's tree (GUI).
This must be used instead of tree->GetSelection() because the tree has the wxTR_MULTIPLE style. This usually returns the first item in the selection list, but if there is a right-click popup menu then the user may have selected several items and right-clicked on one, so return the right-click item instead. of the first
Implemented in BatchProjectManagerUI, NullProjectManagerUI, and ProjectManagerUI.
Referenced by CompilerGCC::DoSwitchProjectTemporarily(), CompilerGCC::OnProjectCompilerOptions(), CodeCompletion::OnSelectedFileReparse(), and NativeParser::ReparseSelectedProject().
|
pure virtual |
Checks whether all projects are saved.
If not, asks the user to save and saves accordingly.
Implemented in BatchProjectManagerUI, NullProjectManagerUI, and ProjectManagerUI.
Referenced by ProjectManager::CloseAllProjects().
|
pure virtual |
Checks whether project is saved.
If not, asks the user to save and saves accordingly.
Implemented in ProjectManagerUI.
Referenced by ProjectManager::CloseProject().
|
pure virtual |
Asks user to save the workspace, projects and files (Yes/No/cancel).
If user pressed Yes, it saves accordingly.
Implemented in BatchProjectManagerUI, NullProjectManagerUI, and ProjectManagerUI.
Referenced by ProjectManager::CloseWorkspace().
|
pure virtual |
Rebuild the project manager's tree.
Implemented in BatchProjectManagerUI, NullProjectManagerUI, and ProjectManagerUI.
Referenced by ProjectManagerUI::CheckForExternallyModifiedProjects(), ProjectManager::CloseAllProjects(), ProjectFileOptionsDlg::EndModal(), TemplateManager::NewProjectFromUserTemplate(), EditorManager::OnAddFileToProject(), cbEditor::OnContextMenuEntry(), EditorManager::OnRemoveFileFromProject(), ScriptBindings::ProjectManager_RebuildTree(), ProjectManager::ReloadProject(), Wiz::RunProjectWizard(), ProjectManager::SaveProject(), ProjectManager::SaveProjectAs(), and EditorManager::SwapActiveHeaderSource().
|
pure virtual |
Implemented in ProjectManagerUI.
Referenced by ProjectManager::CloseProject().
|
pure virtual |
Implemented in ProjectManagerUI.
Referenced by cbEditor::OnContextMenuEntry(), and EditorManager::OnShowFileInTree().
|
pure virtual |
Switches the management's notebook to the Projects tab.
Implemented in BatchProjectManagerUI, NullProjectManagerUI, and ProjectManagerUI.
Referenced by cbEditor::OnContextMenuEntry(), and EditorManager::OnShowFileInTree().
|
pure virtual |
Le the tree control be updated again.
force | If true the tree control is forced to un-freeze. Else it depends on freeze-unfreeze balance (see note). |
Implemented in NullProjectManagerUI, and ProjectManagerUI.
Referenced by ProjectManager::CloseAllProjects(), ProjectManager::ReloadProject(), and ProjectManager::SaveAllProjects().
|
pure virtual |
Implemented in ProjectManagerUI.
Referenced by ProjectManager::SetProject().