no message
This commit is contained in:
@@ -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() {
|
||||
|
||||
@@ -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());
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user