no message

This commit is contained in:
2023-11-26 16:11:17 +03:00
parent 253de8526a
commit 269615abcb
15 changed files with 43 additions and 41 deletions

View File

@@ -1,19 +1,19 @@
package Visual_DVM_2021.Passes;
import Common.Current;
import Common.UI.UI;
import ProjectData.ProjectView;
public class SapforPass extends SilentSapforPass {
//отличается наличием журнала и сообщений
@Override
protected void performPreparation() throws Exception {
// target.CleanInterruptFile();
// target.CleanInterruptFile();
}
@Override
protected void performFinish() throws Exception {
target.db.BeginTransaction();
try {
unpackMessages();
}
catch (PassException ex){
} catch (PassException ex) {
Log.Writeln_(ex.getMessage());
}
target.db.Commit();
@@ -24,11 +24,13 @@ public class SapforPass extends SilentSapforPass {
@Override
protected void showFinish() throws Exception {
UI.getMainWindow().getProjectWindow().RefreshProjectTreeAndMessages();
Current.set(Current.ProjectView, ProjectView.Files);
UI.getMainWindow().getProjectWindow().ShowProjectView();
UI.getMainWindow().getProjectWindow().ShowProjectSapforLog();
}
@Override
public void Interrupt() throws Exception {
// target.CreateInterruptFile();
Current.getSapfor().Interrupt();
// target.CreateInterruptFile();
Current.getSapfor().Interrupt();
}
}