упраздение лишних енумов в оформлении таблиц и деревьев.
This commit is contained in:
@@ -2,7 +2,7 @@ package _VisualDVM.Repository.Component.Sapfor;
|
||||
import Common.CommonConstants;
|
||||
import Common.Passes.PassException;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import Common.Visual.UI;
|
||||
import _VisualDVM.Constants;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.GlobalData.Settings.SettingName;
|
||||
@@ -342,7 +342,7 @@ public abstract class Sapfor extends OSDComponent {
|
||||
Visualizer_2.UnpackVersionInfo(this, getResult());
|
||||
} catch (Exception e) {
|
||||
Utils_.MainLog.PrintException(e);
|
||||
UI_.Error("Не удалось получить версию компонента " + Utils_.DQuotes(getComponentType().getDescription()));
|
||||
UI.Error("Не удалось получить версию компонента " + Utils_.DQuotes(getComponentType().getDescription()));
|
||||
}
|
||||
}
|
||||
public abstract String getUpdateCommand();
|
||||
@@ -537,7 +537,7 @@ public abstract class Sapfor extends OSDComponent {
|
||||
Utils.WriteToFile(file, OldFiles.get(name));
|
||||
}
|
||||
OldFiles.clear();
|
||||
} else UI_.Info("Сохранение файлов отсутствует.");
|
||||
} else UI.Info("Сохранение файлов отсутствует.");
|
||||
}
|
||||
if (cuf != null)
|
||||
Global.mainModule.getPass(PassCode.OpenCurrentFile).Do(cuf);
|
||||
@@ -554,13 +554,13 @@ public abstract class Sapfor extends OSDComponent {
|
||||
for (PassCode code : getAnalysesCodes())
|
||||
(Global.mainModule.getPass(code)).Reset();
|
||||
//------------------------------------------------------------------------------------------>>>> пакетный режим.
|
||||
if (UI_.isActive()) {
|
||||
if (UI.isActive()) {
|
||||
Global.mainModule.getPass(PassCode.Precompilation).Reset();
|
||||
Global.mainModule.getPass(PassCode.SPF_GetGCovInfo).Reset();
|
||||
}
|
||||
Global.enable_text_changed = false;
|
||||
Global.transformationPermission = TransformationPermission.None;
|
||||
if ((UI_.isActive()) && (Global.mainModule.getUI().hasMainWindow()) && (Global.mainModule.getUI().getVersionsWindow() != null))
|
||||
if ((UI.isActive()) && (Global.mainModule.getUI().hasMainWindow()) && (Global.mainModule.getUI().getVersionsWindow() != null))
|
||||
Global.mainModule.getUI().getVersionsWindow().BlockVariants();
|
||||
}
|
||||
//--------------------------------------------------------------------------->>
|
||||
|
||||
Reference in New Issue
Block a user