Search Toolkit Book for CSelectProjectOptions
CProjectSelectOptions - describes how new Project Items shall be added to a workspace. More...
#include <gui/core/select_project_options.hpp>
CProjectSelectOptions - describes how new Project Items shall be added to a workspace.
If folder name is not empty a new Project Folder will be created for the items.
Definition at line 54 of file select_project_options.hpp.
◆ TData ◆ TItemRef ◆ TItems ◆ TLoaderRef ◆ TLoaders ◆ TProjectId ◆ EAction Enumerator eInvalidAction eDecideLater eCreateNewProject eCreateSeparateProjects eAddToExistingProjectDefinition at line 57 of file select_project_options.hpp.
◆ CSelectProjectOptions() CSelectProjectOptions::CSelectProjectOptions ( ) ◆ AddItemsToWorkspace()Definition at line 104 of file select_project_options.cpp.
References _ASSERT, data, eAddToExistingProject, eCreateNewProject, eCreateSeparateProjects, eDecideLater, ITERATE, m_Action, x_AddToExistingProject(), x_CreateOneProject(), x_CreateSeparateProjects(), and x_ShowSelectProjectDialog().
Referenced by CObjectLoadingTask::AddObjects(), CDataLoadingAppTask::Run(), CDataLoadingAppTask::x_OnAppJobProgress(), and CCreateGeneModelTask::x_Run().
◆ CreateProject() ◆ GetAction() ◆ GetFolderName() string CSelectProjectOptions::GetFolderName ( ) ◆ GetTargetProjectId() ◆ InitProjectnameGenerator() void CSelectProjectOptions::InitProjectnameGenerator ( objects::CGBWorkspace & ws, CUniqueLabelGenerator & projectNames ) static ◆ Set_AddToExistingProject() ◆ Set_CreateNewProject()Definition at line 63 of file select_project_options.cpp.
References eCreateNewProject, m_Action, m_FolderName, and m_TargetProjectId.
Referenced by CSrcEditTool::GetTask(), LoadFileForSubmission(), CIndexerAppModeExtension::OnFileOpen(), CKalignTool::QuickLaunch(), CMafftTool::QuickLaunch(), CMuscleTool::QuickLaunch(), CSplignTool::QuickLaunch(), SProjectSelectorParams::ToLoadingOptions(), and CDataMiningPanel::x_AddToProject().
◆ Set_CreateSeparateProjects() void CSelectProjectOptions::Set_CreateSeparateProjects ( ) ◆ Set_DecideLater() void CSelectProjectOptions::Set_DecideLater ( ) ◆ SetNewProjectName() void CSelectProjectOptions::SetNewProjectName ( const string & newProjectName ) inline ◆ x_AddToExistingProject() ◆ x_CreateOneProject() ◆ x_CreateSeparateProjects()for every Project Item in m_Items creates a new project, adds the item to the project and loads the data
Definition at line 228 of file select_project_options.cpp.
References CUniqueLabelGenerator::AddExistingLabel(), CGBDocument::AddItems(), CProjectService::AddProject(), CProjectService::CreateNewWorkspace(), CreateProject(), data, CProjectService::GetGBWorkspace(), CProjectService::HasWorkspace(), InitProjectnameGenerator(), ITERATE, m_NewProjectName, and CUniqueLabelGenerator::MakeUniqueLabel().
Referenced by AddItemsToWorkspace().
◆ x_ShowSelectProjectDialog()Definition at line 140 of file select_project_options.cpp.
References CScope::AddDefaults(), CObjectManager::GetInstance(), CProjectItem::GetObject(), CProjectSelectorDlg::GetParams(), i, NULL, CProjectSelectorDlg::SetObjects(), CProjectSelectorDlg::SetProjectService(), CDialog::SetRegistryPath(), SProjectSelectorParams::ToLoadingOptions(), wxID_ANY, and wxT.
Referenced by AddItemsToWorkspace().
◆ m_Action EAction CSelectProjectOptions::m_Action protected ◆ m_FolderName string CSelectProjectOptions::m_FolderName protected ◆ m_NewProjectName string CSelectProjectOptions::m_NewProjectName protected ◆ m_TargetProjectId TProjectId CSelectProjectOptions::m_TargetProjectId protectedThe documentation for this class was generated from the following files:
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4