2023-11-19 02:12:44 +03:00
|
|
|
package Visual_DVM_2021.Passes.All;
|
2024-10-07 00:58:29 +03:00
|
|
|
import Common_old.Current;
|
2023-11-19 02:12:44 +03:00
|
|
|
import Visual_DVM_2021.Passes.SapforFilesModification;
|
2023-09-17 22:13:42 +03:00
|
|
|
// SPF_LoopUnionCurrent (addOpt1_c -> file, addOpt2_c-> line)
|
|
|
|
|
public class SPF_LoopUnionCurrent extends SapforFilesModification {
|
|
|
|
|
@Override
|
|
|
|
|
protected boolean canStart(Object... args) throws Exception {
|
|
|
|
|
if (super.canStart(args) && Current.Check(Log, Current.File)) {
|
|
|
|
|
addOpt1 = Current.getFile().name;
|
|
|
|
|
addOpt2 = String.valueOf(Current.getFile().form.getEditor().getCurrentLine());
|
|
|
|
|
return true;
|
|
|
|
|
}
|
|
|
|
|
return false;
|
|
|
|
|
}
|
|
|
|
|
}
|