рефакторинг. переносил текущие объекты в другое место

This commit is contained in:
2024-10-13 22:08:13 +03:00
parent 09b64218bd
commit 6afa2dc892
240 changed files with 1472 additions and 1518 deletions

View File

@@ -3,6 +3,7 @@ import Common.Current_;
import Common.Utils.Utils_;
import _VisualDVM.Current;
import Common.Visual.Windows.Dialog.Text.ReadOnlyMultilineTextForm;
import _VisualDVM.Global;
import _VisualDVM.Utils;
import _VisualDVM.Repository.Component.Component;
import _VisualDVM.Repository.Server.ServerCode;
@@ -25,8 +26,8 @@ public class ShowComponentChangesLog extends ComponentsRepositoryPass<Component>
File res;
@Override
protected boolean canStart(Object... args) throws Exception {
if (Current_.Check(Log, Current.Component)) {
target = Current.getComponent();
if (Global.mainModule.Check(Log, Current.Component)) {
target = Global.mainModule.getComponent();
return true;
}
return false;