продолжение рефакторинга. создал предка для класса current
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.CurrentAnchestor;
|
||||
import Common.Utils.CommonUtils;
|
||||
import Common_old.Current;
|
||||
import _VisualDVM.Global;
|
||||
@@ -41,18 +42,18 @@ public class CloseCurrentProject extends Pass_2021<db_project_info> {
|
||||
//--
|
||||
Current.getSapfor().ResetAllAnalyses();
|
||||
Current.getSapfor().cd(new File(CommonUtils.Home));
|
||||
Current.set(Current.Project, null);
|
||||
Current.set(Current.File, null);
|
||||
Current.set(Current.Function, null);
|
||||
Current.set(Current.SelectedFunction,null);
|
||||
Current.set(Current.ProjectNode, null);
|
||||
Current.set(Current.SelectedFile, null);
|
||||
Current.set(Current.SelectedDirectory, null);
|
||||
CurrentAnchestor.set(Current.Project, null);
|
||||
CurrentAnchestor.set(Current.File, null);
|
||||
CurrentAnchestor.set(Current.Function, null);
|
||||
CurrentAnchestor.set(Current.SelectedFunction,null);
|
||||
CurrentAnchestor.set(Current.ProjectNode, null);
|
||||
CurrentAnchestor.set(Current.SelectedFile, null);
|
||||
CurrentAnchestor.set(Current.SelectedDirectory, null);
|
||||
//-мб перестраховка. мб и нет.
|
||||
Current.set(Current.ParallelVariant, null);
|
||||
Current.set(Current.Dimensions, null);
|
||||
Current.set(Current.Array, null);
|
||||
Current.set(Current.DBArray, null);
|
||||
CurrentAnchestor.set(Current.ParallelVariant, null);
|
||||
CurrentAnchestor.set(Current.Dimensions, null);
|
||||
CurrentAnchestor.set(Current.Array, null);
|
||||
CurrentAnchestor.set(Current.DBArray, null);
|
||||
//-
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user