本文整理了Java中com.bc.ceres.core.ProgressMonitor.setTaskName()
方法的一些代码示例,展示了ProgressMonitor.setTaskName()
的具体用法。这些代码示例主要来源于Github
/Stackoverflow
/Maven
等平台,是从一些精选项目中提取出来的代码,具有较强的参考意义,能在一定程度帮忙到你。ProgressMonitor.setTaskName()
方法的具体详情如下:
包路径:com.bc.ceres.core.ProgressMonitor
类名称:ProgressMonitor
方法名:setTaskName
暂无
代码示例来源:origin: senbox-org/snap-desktop
private static File[] collectAllSubDirs(final File dir, int count, final ProgressMonitor pm) {
final List<File> dirList = new ArrayList<>(20);
final ProductFunctions.DirectoryFileFilter dirFilter = new ProductFunctions.DirectoryFileFilter();
final File[] subDirs = dir.listFiles(dirFilter);
if (subDirs != null) {
count += subDirs.length;
pm.setTaskName("Collecting " + count + " folders...");
for (final File subDir : subDirs) {
dirList.add(subDir);
final File[] dirs = collectAllSubDirs(subDir, count, pm);
dirList.addAll(Arrays.asList(dirs));
}
}
return dirList.toArray(new File[dirList.size()]);
}
代码示例来源:origin: senbox-org/snap-desktop
fileList.addAll(Arrays.asList(files));
pm.setTaskName("Collecting " + fileList.size() + " files...");
if (prodCount > 0)
taskMsg += "(" + prodCount + " new products)";
pm.setTaskName(taskMsg);
pm.worked(1);
pm.setTaskName("Generating Quicklook... " + (j + 1) + " of " + numQL);
pm.worked(1);
if (pm.isCanceled())
pm.setTaskName("");
代码示例来源:origin: bcdev/beam
desktopPane);
pm.setTaskName("Loading commands");
loadCommands();
pm.worked(1);
pm.setTaskName("Loading tool windows");
loadToolViews();
pm.worked(1);
pm.setTaskName("Starting plugins");
loadPlugins();
plugInManager.startPlugins();
内容来源于网络,如有侵权,请联系作者删除!