временное сохранение последнийх выбранных машины юзера и компилятора в пропертиес. концепция пропертиес будет дорабатываться потом.

This commit is contained in:
2024-11-17 16:24:47 +03:00
parent 493b19c5e4
commit 3dd7845d76
11 changed files with 61 additions and 89 deletions

View File

@@ -1,4 +1,5 @@
package _VisualDVM;
import Common.CommonConstants;
import Common.Utils.Utils_;
import Common.Visual.Controls.StableMenuItem;
import _VisualDVM.Passes.PassCode;
@@ -85,6 +86,14 @@ public class GlobalProperties {
public boolean EmailOnTestingProgress = false; //включено ли оповещение по email о результатах тестирования.
@Expose
public boolean eraseTestingWorkspaces = true; //удалять ли рабочее пространство пакетов тестирования после его завершения
@Expose
public int lastMachineId = CommonConstants.Nan;
@Expose
public int lastUserId = CommonConstants.Nan;
@Expose
public int lastCompilerId = CommonConstants.Nan;
public GlobalProperties(GlobalProperties p) {
super();
Mode = p.Mode;
@@ -125,6 +134,10 @@ public class GlobalProperties {
CheckTestingIntervalSeconds = p.CheckTestingIntervalSeconds;
EmailOnTestingProgress = p.EmailOnTestingProgress;
eraseTestingWorkspaces = p.eraseTestingWorkspaces;
//-
lastMachineId = p.lastMachineId;
lastUserId = p.lastUserId;
lastCompilerId = p.lastCompilerId;
}
//--
public GlobalProperties() {