продолжение рефакторинга. создал предка для класса current
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.CommonConstants;
|
||||
import Common.CurrentAnchestor;
|
||||
import Common_old.Current;
|
||||
import _VisualDVM.Global;
|
||||
import Common_old.UI.Windows.Dialog.Dialog;
|
||||
@@ -27,7 +28,7 @@ public class PickCompilerEnvironments extends Pass_2021<String> {
|
||||
//-
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
if (Current.Check(Log, Current.RunConfiguration)) {
|
||||
if (CurrentAnchestor.Check(Log, Current.RunConfiguration)) {
|
||||
RunConfiguration configuration = Current.getRunConfiguration();
|
||||
if (configuration.compiler_id == CommonConstants.Nan) {
|
||||
Log.Writeln_("Отсутвует DVM компилятор, связанный с текущей конфигурацией запуска.\n" +
|
||||
|
||||
Reference in New Issue
Block a user