no message
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.Current_;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common.Visual.CommonUI;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import _VisualDVM.Constants;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.Global;
|
||||
@@ -89,7 +89,7 @@ public class ExportDVMPackageToExcel extends Pass<Vector<DVMPackage>> {
|
||||
Log.Writeln_("Папка не выбрана.");
|
||||
return false;
|
||||
}
|
||||
res = new File(dir, CommonUtils.getDateName("packages") + ".xls");
|
||||
res = new File(dir, Utils_.getDateName("packages") + ".xls");
|
||||
return true;
|
||||
}
|
||||
//---
|
||||
@@ -105,7 +105,7 @@ public class ExportDVMPackageToExcel extends Pass<Vector<DVMPackage>> {
|
||||
long milliseconds = object.ChangeDate - object.StartDate;
|
||||
total_time += milliseconds;
|
||||
//--
|
||||
lines.add("время выполнения " + CommonUtils.printSplittedDateInterval(milliseconds));
|
||||
lines.add("время выполнения " + Utils_.printSplittedDateInterval(milliseconds));
|
||||
return String.join("; ", lines);
|
||||
}
|
||||
//---
|
||||
@@ -251,7 +251,7 @@ public class ExportDVMPackageToExcel extends Pass<Vector<DVMPackage>> {
|
||||
return res;
|
||||
}
|
||||
String formatMatrix(String matrix) {
|
||||
return CommonUtils.DQuotes(matrix.trim());
|
||||
return Utils_.DQuotes(matrix.trim());
|
||||
}
|
||||
void createStyles() {
|
||||
styles = new Vector<>();
|
||||
@@ -355,7 +355,7 @@ public class ExportDVMPackageToExcel extends Pass<Vector<DVMPackage>> {
|
||||
offset.Inc();
|
||||
}
|
||||
if (target.size() > 1) {
|
||||
addInfoRow(offset.getValue(), "всего задач " + total_tasks_count + "; общее время выполнения " + CommonUtils.printSplittedDateInterval(total_time));
|
||||
addInfoRow(offset.getValue(), "всего задач " + total_tasks_count + "; общее время выполнения " + Utils_.printSplittedDateInterval(total_time));
|
||||
offset.Inc();
|
||||
}
|
||||
addHeaderRow(offset.getValue(),
|
||||
@@ -398,7 +398,7 @@ public class ExportDVMPackageToExcel extends Pass<Vector<DVMPackage>> {
|
||||
protected void performDone() throws Exception {
|
||||
super.performDone();
|
||||
if (Desktop.isDesktopSupported()) {
|
||||
if (CommonUI.Question("Таблица сформирована в файле\n" + CommonUtils.DQuotes(res.getAbsolutePath()) + ".\nОткрыть её"
|
||||
if (UI_.Question("Таблица сформирована в файле\n" + Utils_.DQuotes(res.getAbsolutePath()) + ".\nОткрыть её"
|
||||
)) {
|
||||
Desktop.getDesktop().open(res);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user