logic: Added full refresh checkbox to indexing start dialog

* Checkbox allows for switching between refresh and full refresh
* Renamed menu option Force Refresh to Full Refresh
* Checkbox is not visible when project needs to be fully refreshed
This commit is contained in:
Eberhard Graether
2016-11-30 16:32:34 +01:00
parent 699a8a2711
commit 457833fb2a
16 changed files with 203 additions and 150 deletions
+2 -2
View File
@@ -139,9 +139,9 @@ void JavaProject::fetchRootDirectories()
m_projectSettings->getAbsoluteExcludePaths(),
m_projectSettings->getSourceExtensions()
);
fileManager.fetchFilePaths(std::vector<FileInfo>());
FileManager::FileSets fileSets = fileManager.fetchFilePaths(std::vector<FileInfo>());
std::shared_ptr<JavaEnvironment> javaEnvironment = JavaEnvironmentFactory::getInstance()->createEnvironment();
for (FilePath filePath: fileManager.getAddedFilePaths())
for (FilePath filePath: fileSets.addedFiles)
{
std::shared_ptr<TextAccess> textAccess = TextAccess::createFromFile(filePath.str());