mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-04-29 19:45:01 +02:00
Better scaling for this progress monitor.
This commit is contained in:
parent
562a946c02
commit
e2d5fb7ffa
1 changed files with 2 additions and 2 deletions
|
@ -346,9 +346,9 @@ public class ExecutablesManager extends PlatformObject implements IResourceChang
|
|||
return 0;
|
||||
}});
|
||||
|
||||
monitor.beginTask("Finding source files in " + executable.getName(), sourceFileProviders.size()); //$NON-NLS-1$
|
||||
monitor.beginTask("Finding source files in " + executable.getName(), sourceFileProviders.size() * 1000); //$NON-NLS-1$
|
||||
for (ISourceFilesProvider provider : sourceFileProviders) {
|
||||
String[] sourceFiles = provider.getSourceFiles(executable, new SubProgressMonitor(monitor, 1));
|
||||
String[] sourceFiles = provider.getSourceFiles(executable, new SubProgressMonitor(monitor, 1000));
|
||||
if (sourceFiles.length > 0) {
|
||||
result = sourceFiles;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue