Перенос.

This commit is contained in:
2023-09-17 22:13:42 +03:00
parent dd2e0ca7e0
commit 629d8b8477
1239 changed files with 61161 additions and 1 deletions

View File

@@ -0,0 +1,29 @@
package Visual_DVM_2021.Passes;
import Common.Current;
import Common.UI.UI;
public class SapforPass extends SilentSapforPass {
//отличается наличием журнала и сообщений
@Override
protected void performPreparation() throws Exception {
// target.CleanInterruptFile();
}
@Override
protected void performFinish() throws Exception {
target.db.BeginTransaction();
unpackMessages();
target.db.Commit();
}
protected void unpackMessages() throws Exception {
target.unpackMessagesAndLog(sapfor.getOutputMessage(), sapfor.getOutput());
}
@Override
protected void showFinish() throws Exception {
UI.getMainWindow().getProjectWindow().RefreshProjectTreeAndMessages();
UI.getMainWindow().getProjectWindow().ShowProjectSapforLog();
}
@Override
public void Interrupt() throws Exception {
// target.CreateInterruptFile();
Current.getSapfor().Interrupt();
}
}