no message

This commit is contained in:
2024-10-25 00:43:03 +03:00
parent aa490e4181
commit 9482abefcc
12 changed files with 29 additions and 29 deletions

View File

@@ -8,6 +8,7 @@ import Common.Visual.Windows.Dialog.DialogFields;
import _VisualDVM.Current;
import _VisualDVM.GlobalData.EnvironmentValue.EnvironmentValue;
import _VisualDVM.GlobalData.RunConfiguration.RunConfiguration;
import _VisualDVM.Passes.All.Run;
import _VisualDVM.Passes.PassCode;
import javax.swing.*;
@@ -50,7 +51,7 @@ public class EnvironmentsValuesForm extends DataSetControlForm<EnvironmentValue>
@Override
public boolean isObjectVisible(EnvironmentValue object) {
return super.isObjectVisible(object) &&
MainModule_.instance.getDb().matchCurrentID(RunConfiguration.class,object.run_configuration_id );
MainModule_.instance.getDb().getTable(RunConfiguration.class).getUI().matchCurrentID(object.run_configuration_id );
}
@Override
protected DBObjectDialog<EnvironmentValue, ? extends DialogFields> getDialog() {

View File

@@ -63,8 +63,9 @@ public class CompilationTasksForm extends DataSetControlForm<CompilationTask> {
@Override
public boolean isObjectVisible(CompilationTask object) {
return super.isObjectVisible(object) &&
MainModule_.instance.getDb().matchCurrentID(Machine.class, object.machine_id) &&
MainModule_.instance.getDb().matchCurrentID(User.class, object.user_id) &&
MainModule_.instance.getDb().getTable(Machine.class).getUI().matchCurrentID(object.machine_id) &&
MainModule_.instance.getDb().getTable(User.class).getUI().matchCurrentID(object.user_id) &&
Global.mainModule.HasProject() &&
object.belongsToProject(Global.mainModule.getProject());
}

View File

@@ -60,7 +60,7 @@ public class AppendBugReportField extends ComponentsRepositoryPass<BugReport> {
}
@Override
protected void showFinish() throws Exception {
server.db.bugReports.RefreshUI();
server.db.bugReports.getUI().RedrawControl();
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport();
}
@Override

View File

@@ -68,7 +68,7 @@ public class PublishBugReport extends Pass<BugReport> {
}
@Override
protected void showDone() throws Exception {
Global.componentsServer.db.bugReports.RefreshUI();
Global.componentsServer.db.bugReports.getUI().RedrawControl();
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport();
}
}

View File

@@ -60,7 +60,7 @@ public class ShowCompilerVersion extends Pass<String> {
@Override
protected void showDone() throws Exception {
if (needsShow) {
(Global.mainModule.getDb()).compilers.RefreshUI();
(Global.mainModule.getDb()).compilers.getUI().RedrawControl();
ReadOnlyMultilineTextForm ff = new ReadOnlyMultilineTextForm();
ff.ShowDialog("Версия", target);
}

View File

@@ -50,7 +50,7 @@ public class UpdateBugReportField extends ComponentsRepositoryPass<BugReport> {
BugReport.class.getField(fieldNames.get(i)).set(target, fieldValues.get(i));
target.change_date = new Date().getTime();
server.db.Update(target);
server.db.bugReports.RefreshUI();
server.db.bugReports.getUI().RedrawControl();
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport();
} else
return canUpdate();
@@ -82,7 +82,7 @@ public class UpdateBugReportField extends ComponentsRepositoryPass<BugReport> {
}
@Override
protected void showFinish() throws Exception {
Global.componentsServer.db.bugReports.RefreshUI();
Global.componentsServer.db.bugReports.getUI().RedrawControl();
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport();
}
@Override