упраздение лишних енумов в оформлении таблиц и деревьев.
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package _VisualDVM.Passes.All;
|
||||
import Common.Passes.Pass;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import Common.Visual.UI;
|
||||
import _VisualDVM.Current;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.Passes.PassCode;
|
||||
@@ -20,8 +20,8 @@ public class DeleteVersion extends Pass<db_project_info> {
|
||||
current = (Global.mainModule.getVersion() != null) && Global.mainModule.getVersion().Home.equals(target.Home);
|
||||
return true;
|
||||
} else {
|
||||
if (((target = Global.mainModule.getVersion()) != null) && (!UI_.isActive() ||
|
||||
UI_.Warning("Удалить " +
|
||||
if (((target = Global.mainModule.getVersion()) != null) && (!UI.isActive() ||
|
||||
UI.Warning("Удалить " +
|
||||
((Global.mainModule.HasProject() && target.Home.equals(Global.mainModule.getProject().Home)) ? "текущий проект" : "версию ")
|
||||
+ Utils_.Brackets(target.name)))) {
|
||||
current = true;
|
||||
@@ -38,7 +38,7 @@ public class DeleteVersion extends Pass<db_project_info> {
|
||||
if ((Global.mainModule.getProject().Home.getAbsolutePath().startsWith(target.Home.getAbsolutePath())))
|
||||
Global.mainModule.getPass(PassCode.CloseCurrentProject).Do();
|
||||
}
|
||||
if (UI_.isActive()) {
|
||||
if (UI.isActive()) {
|
||||
Global.mainModule.getUI().getVersionsWindow().RemoveVersionFromComparison(target);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user