Files
VisualSapfor/src/Visual_DVM_2021/Passes/All/SPF_LoopUnionCurrent.java

17 lines
644 B
Java
Raw Normal View History

package Visual_DVM_2021.Passes.All;
import Common.CurrentAnchestor;
2024-10-09 22:01:19 +03:00
import _VisualDVM.Current;
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) && CurrentAnchestor.Check(Log, Current.File)) {
2023-09-17 22:13:42 +03:00
addOpt1 = Current.getFile().name;
addOpt2 = String.valueOf(Current.getFile().form.getEditor().getCurrentLine());
return true;
}
return false;
}
}