продолжение рефакторинга. создал предка для класса current
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
package Visual_DVM_2021.Passes.All;
|
||||
import Common.CurrentAnchestor;
|
||||
import Common_old.Current;
|
||||
import Common_old.UI.Windows.Dialog.Text.ReadOnlyMultilineTextForm;
|
||||
import GlobalData.Compiler.Compiler;
|
||||
@@ -22,7 +23,7 @@ public class ShowCompilerHelp extends Pass_2021<String> {
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
target = null;
|
||||
if (args.length == 0) {
|
||||
if (Current.Check(Log, Current.Compiler)) {
|
||||
if (CurrentAnchestor.Check(Log, Current.Compiler)) {
|
||||
compiler = Current.getCompiler();
|
||||
needsShow = true;
|
||||
return true;
|
||||
|
||||
Reference in New Issue
Block a user