продолжение рефакторинга. создал предка для класса 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.UI;
|
||||
import Common_old.UI.Windows.Dialog.DBObjectDialog;
|
||||
@@ -22,7 +23,7 @@ public class SPF_ModifyArrayDistribution extends SapforModification {
|
||||
@Override
|
||||
protected boolean canStart(Object... args) throws Exception {
|
||||
region = null;
|
||||
if (Current.Check(Log, Current.ParallelRegion) && super.canStart(args) && passes.get(PassCode_2021.SPF_GetArrayLinks).Do()) {
|
||||
if (CurrentAnchestor.Check(Log, Current.ParallelRegion) && super.canStart(args) && passes.get(PassCode_2021.SPF_GetArrayLinks).Do()) {
|
||||
region = Current.getParallelRegion();
|
||||
DBObjectDialog dialog = new DBObjectDialog<ParallelRegion, ParallelRegionFields>(ParallelRegionFields.class) {
|
||||
@Override
|
||||
|
||||
Reference in New Issue
Block a user