продолжение рефакторинга. создал предка для класса 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 Common_old.UI.UI;
|
||||
@@ -35,12 +36,12 @@ public class CloseCurrentFile extends Pass_2021<DBProjectFile> {
|
||||
}
|
||||
@Override
|
||||
protected void performDone() throws Exception {
|
||||
Current.set(Current.File, null);
|
||||
Current.set(Current.FileGraphElement, null);
|
||||
CurrentAnchestor.set(Current.File, null);
|
||||
CurrentAnchestor.set(Current.FileGraphElement, null);
|
||||
//-
|
||||
Current.set(Current.Notes, null);
|
||||
Current.set(Current.Warnings, null);
|
||||
Current.set(Current.Errors, null);
|
||||
CurrentAnchestor.set(Current.Notes, null);
|
||||
CurrentAnchestor.set(Current.Warnings, null);
|
||||
CurrentAnchestor.set(Current.Errors, null);
|
||||
//-
|
||||
}
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user