no message
This commit is contained in:
@@ -163,8 +163,10 @@ public class Global {
|
||||
}
|
||||
System.exit(0);
|
||||
}
|
||||
//todo запихнуть в ComponentsSet
|
||||
public static void RefreshUpdatesStatus() {
|
||||
Components.RefreshUI();
|
||||
if (Components.getUI() != null)
|
||||
Components.getUI().Refresh();
|
||||
ValidateComponentsStates();
|
||||
if (mainModule.getUI().hasMainWindow())
|
||||
mainModule.getUI().getMainWindow().ShowUpdatesIcon();
|
||||
|
||||
@@ -15,19 +15,19 @@ public class CompilersForm extends DataSetControlForm<Compiler> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.Compiler;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "компилятор";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "компиляторы";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -57,12 +57,12 @@ public class CompilersForm extends DataSetControlForm<Compiler> {
|
||||
columns.get(0).setVisible(false);
|
||||
}
|
||||
@Override
|
||||
public void ShowCurrentObject() throws Exception {
|
||||
protected void ShowCurrentObject() throws Exception {
|
||||
super.ShowCurrentObject();
|
||||
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentCompiler();
|
||||
}
|
||||
@Override
|
||||
public void ShowNoCurrentObject() throws Exception {
|
||||
protected void ShowNoCurrentObject() throws Exception {
|
||||
super.ShowNoCurrentObject();
|
||||
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentCompiler();
|
||||
}
|
||||
@@ -79,7 +79,7 @@ public class CompilersForm extends DataSetControlForm<Compiler> {
|
||||
return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.Machine, object.machine_id);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog getDialog() {
|
||||
protected DBObjectDialog getDialog() {
|
||||
return new CompilerDialog();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -10,7 +10,7 @@ public class CompilerEnvironmentsForm extends DataSetControlForm<CompilerEnviron
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -10,7 +10,7 @@ public class CompilerOptionsForm extends DataSetControlForm<CompilerOption> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -14,15 +14,15 @@ public class DVMParametersForm extends DataSetControlForm<DVMParameter> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.DVMParameterValue;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "параметр DVM системы";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "параметры DVM";
|
||||
}
|
||||
@Override
|
||||
@@ -54,7 +54,7 @@ public class DVMParametersForm extends DataSetControlForm<DVMParameter> {
|
||||
PassCode.DeleteDVMParameter);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog<DVMParameter, ? extends DialogFields> getDialog() {
|
||||
protected DBObjectDialog<DVMParameter, ? extends DialogFields> getDialog() {
|
||||
return new DVMParameterDialog();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,15 +15,15 @@ public class EnvironmentsValuesForm extends DataSetControlForm<EnvironmentValue>
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.EnvironmentValue;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "переменная окружения";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "переменные окружения";
|
||||
}
|
||||
@Override
|
||||
@@ -59,7 +59,7 @@ public class EnvironmentsValuesForm extends DataSetControlForm<EnvironmentValue>
|
||||
return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.RunConfiguration, object.run_configuration_id);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog<EnvironmentValue, ? extends DialogFields> getDialog() {
|
||||
protected DBObjectDialog<EnvironmentValue, ? extends DialogFields> getDialog() {
|
||||
return new EnvironmentValueDialog();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,19 +18,19 @@ public class MachinesForm extends DataSetControlForm<Machine> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.Machine;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "машина";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "машины";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -47,13 +47,13 @@ public class MachinesForm extends DataSetControlForm<Machine> {
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public void ShowCurrentObject() throws Exception {
|
||||
protected void ShowCurrentObject() throws Exception {
|
||||
super.ShowCurrentObject();
|
||||
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentCompiler();
|
||||
Global.mainModule.getUI().getCredentialsMenuBar().ShowMachine();
|
||||
}
|
||||
@Override
|
||||
public void ShowNoCurrentObject() throws Exception {
|
||||
protected void ShowNoCurrentObject() throws Exception {
|
||||
super.ShowNoCurrentObject();
|
||||
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentCompiler();
|
||||
Global.mainModule.getUI().getCredentialsMenuBar().ShowNoMachine();
|
||||
@@ -85,7 +85,7 @@ public class MachinesForm extends DataSetControlForm<Machine> {
|
||||
};
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog<Machine, ? extends DialogFields> getDialog() {
|
||||
protected DBObjectDialog<Machine, ? extends DialogFields> getDialog() {
|
||||
return new MachineDialog();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,19 +16,19 @@ public class MakefilesForm extends DataSetControlForm<Makefile> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.Makefile;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "мейкфайл";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "мейкфайлы";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -75,7 +75,7 @@ public class MakefilesForm extends DataSetControlForm<Makefile> {
|
||||
MainModule_.instance.matchCurrentID(Current.Machine, object.machine_id);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog<Makefile, ModuleAnchestorFields> getDialog() {
|
||||
protected DBObjectDialog<Makefile, ModuleAnchestorFields> getDialog() {
|
||||
return new ModuleAnchestorForm<>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,19 +15,19 @@ public class ModulesForm extends DataSetControlForm<Module> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.Module;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "языковой модуль";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "языковые модули";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -67,7 +67,7 @@ public class ModulesForm extends DataSetControlForm<Module> {
|
||||
return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.Makefile, object.makefile_id);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog<Module, ? extends DialogFields> getDialog() {
|
||||
protected DBObjectDialog<Module, ? extends DialogFields> getDialog() {
|
||||
return new ModuleAnchestorForm<>();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,15 +14,15 @@ public class RunConfigurationsForm extends DataSetControlForm<RunConfiguration>
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.RunConfiguration;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "конфигурация запуска";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "конфигурации запуска";
|
||||
}
|
||||
@Override
|
||||
@@ -80,7 +80,7 @@ public class RunConfigurationsForm extends DataSetControlForm<RunConfiguration>
|
||||
return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.Machine, object.machine_id);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog getDialog() {
|
||||
protected DBObjectDialog getDialog() {
|
||||
return new RunConfigurationDialog();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,19 +15,19 @@ public class SapforProfilesForm extends DataSetControlForm<SapforProfile> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.SapforProfile;
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "профили SAPFOR";
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "профиль SAPFOR";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -57,7 +57,7 @@ public class SapforProfilesForm extends DataSetControlForm<SapforProfile> {
|
||||
PassCode.DeleteProfile);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog<SapforProfile, ? extends DialogFields> getDialog() {
|
||||
protected DBObjectDialog<SapforProfile, ? extends DialogFields> getDialog() {
|
||||
return new SapforProfileDialog();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,7 +11,7 @@ public class SapforProfileSettingsForm extends DataSetControlForm<SapforProfileS
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.SapforProfileSetting;
|
||||
}
|
||||
@Override
|
||||
@@ -37,7 +37,7 @@ public class SapforProfileSettingsForm extends DataSetControlForm<SapforProfileS
|
||||
columns.get(0).setVisible(false);
|
||||
}
|
||||
@Override
|
||||
public boolean hasMenuBar() {
|
||||
protected boolean hasMenuBar() {
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -16,19 +16,19 @@ public class CompilationTasksForm extends DataSetControlForm<CompilationTask> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.CompilationTask;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "задача на компиляцию";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "задачи на компиляцию";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -54,12 +54,12 @@ public class CompilationTasksForm extends DataSetControlForm<CompilationTask> {
|
||||
columns.get(13).setRendererClass(RendererStatusEnum.class);
|
||||
}
|
||||
@Override
|
||||
public void ShowCurrentObject() throws Exception {
|
||||
protected void ShowCurrentObject() throws Exception {
|
||||
super.ShowCurrentObject();
|
||||
Global.mainModule.getUI().getDebugWindow().DropRunTasksComparison();
|
||||
}
|
||||
@Override
|
||||
public void ShowNoCurrentObject() throws Exception {
|
||||
protected void ShowNoCurrentObject() throws Exception {
|
||||
super.ShowNoCurrentObject();
|
||||
Global.mainModule.getUI().getDebugWindow().DropRunTasksComparison();
|
||||
}
|
||||
|
||||
@@ -16,19 +16,19 @@ public class RunTasksForm extends DataSetControlForm<RunTask> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.RunTask;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "задача на запуск";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "задачи на запуск";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -66,12 +66,12 @@ public class RunTasksForm extends DataSetControlForm<RunTask> {
|
||||
columns.get(7).setRendererClass(RendererStatusEnum.class);
|
||||
}
|
||||
@Override
|
||||
public void ShowCurrentObject() throws Exception {
|
||||
protected void ShowCurrentObject() throws Exception {
|
||||
super.ShowCurrentObject();
|
||||
Global.mainModule.getUI().getDebugWindow().ShowCurrentRunTask();
|
||||
}
|
||||
@Override
|
||||
public void ShowNoCurrentObject() throws Exception {
|
||||
protected void ShowNoCurrentObject() throws Exception {
|
||||
super.ShowNoCurrentObject();
|
||||
Global.mainModule.getUI().getDebugWindow().ShowNoCurrentRunTask();
|
||||
}
|
||||
|
||||
@@ -16,19 +16,19 @@ public class UsersForm extends DataSetControlForm<User> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.User;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "пользователь";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "пользователи";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -54,12 +54,12 @@ public class UsersForm extends DataSetControlForm<User> {
|
||||
columns.get(3).setRendererClass(RendererStatusEnum.class);
|
||||
}
|
||||
@Override
|
||||
public void ShowCurrentObject() throws Exception {
|
||||
protected void ShowCurrentObject() throws Exception {
|
||||
super.ShowCurrentObject();
|
||||
Global.mainModule.getUI().getCredentialsMenuBar().ShowUser();
|
||||
}
|
||||
@Override
|
||||
public void ShowNoCurrentObject() throws Exception {
|
||||
protected void ShowNoCurrentObject() throws Exception {
|
||||
super.ShowNoCurrentObject();
|
||||
Global.mainModule.getUI().getCredentialsMenuBar().ShowNoUser();
|
||||
}
|
||||
@@ -76,7 +76,7 @@ public class UsersForm extends DataSetControlForm<User> {
|
||||
return super.isObjectVisible(object) && super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.Machine, object.machine_id);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog getDialog() {
|
||||
protected DBObjectDialog getDialog() {
|
||||
return new UserDialog();
|
||||
}
|
||||
}
|
||||
@@ -61,7 +61,7 @@ public class AppendBugReportField extends ComponentsRepositoryPass<BugReport> {
|
||||
}
|
||||
@Override
|
||||
protected void showFinish() throws Exception {
|
||||
server.db.bugReports.RefreshUI();
|
||||
server.db.bugReports.getUI().Refresh();
|
||||
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport();
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -58,6 +58,6 @@ public class InitialiseUser extends Pass {
|
||||
}
|
||||
@Override
|
||||
protected void showFinish() throws Exception {
|
||||
Global.mainModule.getDb().users.RefreshUI();
|
||||
Global.mainModule.getDb().users.getUI().Refresh();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -69,7 +69,7 @@ public class PublishBugReport extends Pass<BugReport> {
|
||||
}
|
||||
@Override
|
||||
protected void showDone() throws Exception {
|
||||
Global.componentsServer.db.bugReports.RefreshUI();
|
||||
Global.componentsServer.db.bugReports.getUI().Refresh();
|
||||
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -81,7 +81,7 @@ public class Run extends Pass<db_project_info> {
|
||||
boolean task_completed = false;
|
||||
task.setProgress(i, runTasks.size());
|
||||
//-
|
||||
Global.mainModule.getDb().runTasks.RefreshUI();
|
||||
Global.mainModule.getDb().runTasks.getUI().Refresh();
|
||||
Global.mainModule.getDb().runTasks.getUI().SetCurrentByPK(task.id);
|
||||
//-
|
||||
subpass.Do(task, target);
|
||||
@@ -102,7 +102,7 @@ public class Run extends Pass<db_project_info> {
|
||||
break;
|
||||
}
|
||||
//-
|
||||
Global.mainModule.getDb().runTasks.RefreshUI();
|
||||
Global.mainModule.getDb().runTasks.getUI().Refresh();
|
||||
Global.mainModule.getUI().getDebugWindow().ShowCurrentRunTask();
|
||||
//-
|
||||
if (!task_completed) break;
|
||||
|
||||
@@ -59,7 +59,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().Refresh();
|
||||
ReadOnlyMultilineTextForm ff = new ReadOnlyMultilineTextForm();
|
||||
ff.ShowDialog("Версия", target);
|
||||
}
|
||||
|
||||
@@ -51,7 +51,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().Refresh();
|
||||
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport();
|
||||
} else
|
||||
return canUpdate();
|
||||
@@ -83,7 +83,7 @@ public class UpdateBugReportField extends ComponentsRepositoryPass<BugReport> {
|
||||
}
|
||||
@Override
|
||||
protected void showFinish() throws Exception {
|
||||
Global.componentsServer.db.bugReports.RefreshUI();
|
||||
Global.componentsServer.db.bugReports.getUI().Refresh();
|
||||
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport();
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -45,6 +45,6 @@ public abstract class ActualizeTestingPackages<P extends TestingPackage> extends
|
||||
}
|
||||
@Override
|
||||
protected void showDone() throws Exception {
|
||||
getTable().RefreshUI();
|
||||
getTable().getUI().Refresh();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -11,15 +11,15 @@ public class DBArraysForm extends DataSetControlForm<DBArray> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.DBArray;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "массив";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "сохранённые состояния";
|
||||
}
|
||||
@Override
|
||||
@@ -38,7 +38,7 @@ public class DBArraysForm extends DataSetControlForm<DBArray> {
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -13,7 +13,7 @@ public class ErrorsDBTable extends MessagesDBTable<MessageError> {
|
||||
protected DataSetControlForm createUI(JPanel mountPanel) {
|
||||
return new MessagesControlForm(this, mountPanel) {
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.Errors;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -34,7 +34,7 @@ public class MessagesControlForm extends DataSetControlForm<Message> {
|
||||
}
|
||||
}
|
||||
@Override
|
||||
public void ShowCurrentObject() throws Exception {
|
||||
protected void ShowCurrentObject() throws Exception {
|
||||
super.ShowCurrentObject();
|
||||
Global.mainModule.getFile().form.getEditor().gotoLine(getCurrent().line);
|
||||
}
|
||||
@@ -45,7 +45,7 @@ public class MessagesControlForm extends DataSetControlForm<Message> {
|
||||
columns.get(3).setRendererClass(RendererWrapText.class);
|
||||
}
|
||||
@Override
|
||||
public void MouseAction2() throws Exception {
|
||||
protected void MouseAction2() throws Exception {
|
||||
ShowCurrentObject();
|
||||
}
|
||||
@Override
|
||||
@@ -57,7 +57,7 @@ public class MessagesControlForm extends DataSetControlForm<Message> {
|
||||
return Comparator.comparingInt(o -> o.line);
|
||||
}
|
||||
@Override
|
||||
public boolean hasMenuBar() {
|
||||
protected boolean hasMenuBar() {
|
||||
return false;
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -13,7 +13,7 @@ public class NotesDBTable extends MessagesDBTable<MessageNote> {
|
||||
protected DataSetControlForm createUI(JPanel mountPanel) {
|
||||
return new MessagesControlForm(this, mountPanel) {
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.Notes;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -12,7 +12,7 @@ public class RecommendationsForm extends DataSetControlForm<MessageRecommendatio
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.Recommendations;
|
||||
}
|
||||
@Override
|
||||
@@ -39,7 +39,7 @@ public class RecommendationsForm extends DataSetControlForm<MessageRecommendatio
|
||||
AddFilter(new HeaderTextFilter(dataSource, 1, 72));
|
||||
}
|
||||
@Override
|
||||
public boolean hasMenuBar() {
|
||||
protected boolean hasMenuBar() {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,7 +14,7 @@ public class WarningsDBTable extends MessagesDBTable<MessageWarning> {
|
||||
protected DataSetControlForm createUI(JPanel mountPanel) {
|
||||
return new MessagesControlForm(this, mountPanel) {
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.Warnings;
|
||||
}
|
||||
};
|
||||
|
||||
@@ -25,15 +25,15 @@ public class ProjectArraysForm extends DataSetControlForm<ProjectArray> {
|
||||
}
|
||||
//--
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.ProjectArray;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "массив";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "объявленные массивы";
|
||||
}
|
||||
@Override
|
||||
@@ -48,7 +48,7 @@ public class ProjectArraysForm extends DataSetControlForm<ProjectArray> {
|
||||
};
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -12,15 +12,15 @@ public class ParallelRegionsForm extends DataSetControlForm<ParallelRegion> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.ParallelRegionInfo;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "область распараллеливания";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "области распараллеливания";
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -15,15 +15,15 @@ public class ParallelVariantsForm extends DataSetControlForm<ParallelVariant> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.ParallelVariant;
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "варианты";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -31,15 +31,15 @@ public class BugReportsForm extends DataSetControlForm<BugReport> {
|
||||
}
|
||||
//--
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.BugReport;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "отчёт об ошибке";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "отчёты об ошибках";
|
||||
}
|
||||
@Override
|
||||
@@ -55,12 +55,12 @@ public class BugReportsForm extends DataSetControlForm<BugReport> {
|
||||
"Статус"};
|
||||
}
|
||||
@Override
|
||||
public void ShowCurrentObject() throws Exception {
|
||||
protected void ShowCurrentObject() throws Exception {
|
||||
super.ShowCurrentObject();
|
||||
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport();
|
||||
}
|
||||
@Override
|
||||
public void ShowNoCurrentObject() throws Exception {
|
||||
protected void ShowNoCurrentObject() throws Exception {
|
||||
super.ShowNoCurrentObject();
|
||||
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowNoCurrentBugReport();
|
||||
}
|
||||
@@ -73,7 +73,7 @@ public class BugReportsForm extends DataSetControlForm<BugReport> {
|
||||
columns.get(8).setRendererClass(RendererStatusEnum.class);
|
||||
}
|
||||
@Override
|
||||
public void MouseAction2() throws Exception {
|
||||
protected void MouseAction2() throws Exception {
|
||||
Global.mainModule.getPass(PassCode.OpenBugReportTestProject).Do();
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -19,19 +19,19 @@ public class ComponentsForm extends DataSetControlForm<Component> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.Component;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "компонент";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "компоненты";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -13,15 +13,15 @@ public class SubscriberWorkspacesForm extends DataSetControlForm<SubscriberWorks
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.SubscriberWorkspace;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "рабочая папка";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "рабочие папки";
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -16,19 +16,19 @@ public class SubsribersForm extends DataSetControlForm<Subscriber> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.Subscriber;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "адресат";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "адресаты";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -68,7 +68,7 @@ public class SubsribersForm extends DataSetControlForm<Subscriber> {
|
||||
PassCode.DeleteSubscriber);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog<Subscriber, ? extends DialogFields> getDialog() {
|
||||
protected DBObjectDialog<Subscriber, ? extends DialogFields> getDialog() {
|
||||
return new SubscriberDialog();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -22,19 +22,19 @@ public class GroupsForm extends DataSetControlForm<Group> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.Group;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "группа тестов";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "группы";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -112,7 +112,7 @@ public class GroupsForm extends DataSetControlForm<Group> {
|
||||
});
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog getDialog() {
|
||||
protected DBObjectDialog getDialog() {
|
||||
return new GroupDialog();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,19 +14,19 @@ public class TestsForm extends DataSetControlForm<Test> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.Test;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "тест";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "тесты";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -70,7 +70,7 @@ public class TestsForm extends DataSetControlForm<Test> {
|
||||
return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.Group, object.group_id);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog getDialog() {
|
||||
protected DBObjectDialog getDialog() {
|
||||
return new TestDialog();
|
||||
}
|
||||
};
|
||||
|
||||
@@ -17,19 +17,19 @@ public class DVMConfigurationsForm extends DataSetControlForm<DVMConfiguration>
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.DVMConfiguration;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "конфигурация";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "конфигурации";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -85,11 +85,11 @@ public class DVMConfigurationsForm extends DataSetControlForm<DVMConfiguration>
|
||||
PassCode.StartSelectedDVMConfigurations);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog getDialog() {
|
||||
protected DBObjectDialog getDialog() {
|
||||
return new DVMConfigurationDialog();
|
||||
}
|
||||
@Override
|
||||
public boolean ShowEditObjectDialog(DVMConfiguration object) {
|
||||
return (Global.mainModule.getAccount().CheckAccessRights(object.sender_address, null)) ? super.ShowEditObjectDialog(object) : ViewObject(object);
|
||||
protected boolean isObjectEditable(DVMConfiguration object) {
|
||||
return Global.mainModule.getAccount().CheckAccessRights(object.sender_address, null);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,19 +23,19 @@ public class DVMPackagesForm extends DataSetControlForm<DVMPackage> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.DVMPackage;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "пакет";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "пакеты";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -93,7 +93,7 @@ public class DVMPackagesForm extends DataSetControlForm<DVMPackage> {
|
||||
columns.get(12).setRendererClass(RendererStatusEnum.class);
|
||||
}
|
||||
@Override
|
||||
public void ShowCurrentObject() throws Exception {
|
||||
protected void ShowCurrentObject() throws Exception {
|
||||
super.ShowCurrentObject();
|
||||
//--
|
||||
Global.testingServer.db.dvmRunTasks.ShowDVMPackage(getCurrent());
|
||||
@@ -101,13 +101,13 @@ public class DVMPackagesForm extends DataSetControlForm<DVMPackage> {
|
||||
//--
|
||||
}
|
||||
@Override
|
||||
public void ShowNoCurrentObject() throws Exception {
|
||||
protected void ShowNoCurrentObject() throws Exception {
|
||||
super.ShowNoCurrentObject();
|
||||
Global.testingServer.db.dvmRunTasks.ShowNoPackage();
|
||||
Global.mainModule.getUI().getMainWindow().getTestingWindow().DropTestRunTasksComparison();
|
||||
}
|
||||
@Override
|
||||
public void MouseAction2() throws Exception {
|
||||
protected void MouseAction2() throws Exception {
|
||||
Global.mainModule.getPass(PassCode.DownloadDVMPackage).Do();
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -14,19 +14,19 @@ public class DVMSettingsForm extends DataSetControlForm<DVMSettings> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.DVMSettings;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "параметры тестирования";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "параметры тестирования";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -77,11 +77,11 @@ public class DVMSettingsForm extends DataSetControlForm<DVMSettings> {
|
||||
PassCode.DeleteDVMSettings);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog getDialog() {
|
||||
protected DBObjectDialog getDialog() {
|
||||
return new DVMSettingsDialog();
|
||||
}
|
||||
@Override
|
||||
public boolean ShowEditObjectDialog(DVMSettings object) {
|
||||
return (Global.mainModule.getAccount().CheckAccessRights(object.sender_address, null)) ? super.ShowEditObjectDialog(object) : ViewObject(object);
|
||||
protected boolean isObjectEditable(DVMSettings object) {
|
||||
return Global.mainModule.getAccount().CheckAccessRights(object.sender_address, null);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -19,19 +19,19 @@ public class DVMRunTasksForm extends DataSetControlForm<DVMRunTask> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.DVMRunTask;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "задача";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "задачи";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -18,19 +18,19 @@ public class SapforConfigurationsForm extends DataSetControlForm<SapforConfigura
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.SapforConfiguration;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "конфигурация";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "конфигурации";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -88,7 +88,7 @@ public class SapforConfigurationsForm extends DataSetControlForm<SapforConfigura
|
||||
PassCode.StartSelectedSAPFORConfigurations);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog getDialog() {
|
||||
protected DBObjectDialog getDialog() {
|
||||
return new SapforConfigurationDialog();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -23,19 +23,19 @@ public class SapforPackagesForm extends DataSetControlForm<SapforPackage> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.SapforPackage;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "пакет";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "пакеты";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -87,7 +87,7 @@ public class SapforPackagesForm extends DataSetControlForm<SapforPackage> {
|
||||
columns.get(10).setRendererClass(RendererStatusEnum.class);
|
||||
}
|
||||
@Override
|
||||
public void MouseAction2() throws Exception {
|
||||
protected void MouseAction2() throws Exception {
|
||||
Global.mainModule.getPass(PassCode.CompareSapforPackages).Do();
|
||||
}
|
||||
@Override
|
||||
|
||||
@@ -13,19 +13,19 @@ public class SapforSettingsForm extends DataSetControlForm<SapforSettings> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.SapforSettings;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "параметры тестирования";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "параметры тестирования";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -58,7 +58,7 @@ public class SapforSettingsForm extends DataSetControlForm<SapforSettings> {
|
||||
PassCode.DeleteSapforSettings);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog getDialog() {
|
||||
protected DBObjectDialog getDialog() {
|
||||
return new SapforSettingsDialog();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -14,19 +14,19 @@ public class SapforSettingsCommandsForm extends DataSetControlForm<SapforSetting
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.SapforSettingsCommand;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "команда";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "команды";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -56,7 +56,7 @@ public class SapforSettingsCommandsForm extends DataSetControlForm<SapforSetting
|
||||
return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.SapforSettings, object.sapforsettings_id);
|
||||
}
|
||||
@Override
|
||||
public DBObjectDialog getDialog() {
|
||||
protected DBObjectDialog getDialog() {
|
||||
return new SapforSettingsCommandDialog();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,19 +16,19 @@ public class ServerSapforsForm extends DataSetControlForm<ServerSapfor> {
|
||||
super(dataSource_in, mountPanel_in);
|
||||
}
|
||||
@Override
|
||||
public Current CurrentName() {
|
||||
protected Current CurrentName() {
|
||||
return Current.ServerSapfor;
|
||||
}
|
||||
@Override
|
||||
public String getSingleDescription() {
|
||||
protected String getSingleDescription() {
|
||||
return "версия SAPFOR";
|
||||
}
|
||||
@Override
|
||||
public String getPluralDescription() {
|
||||
protected String getPluralDescription() {
|
||||
return "версии SAPFOR";
|
||||
}
|
||||
@Override
|
||||
public boolean hasCheckBox() {
|
||||
protected boolean hasCheckBox() {
|
||||
return true;
|
||||
}
|
||||
@Override
|
||||
@@ -60,12 +60,12 @@ public class ServerSapforsForm extends DataSetControlForm<ServerSapfor> {
|
||||
columns.get(5).setRendererClass(RendererStatusEnum.class);
|
||||
}
|
||||
@Override
|
||||
public void ShowCurrentObject() throws Exception {
|
||||
protected void ShowCurrentObject() throws Exception {
|
||||
super.ShowCurrentObject();
|
||||
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentServerSapfor();
|
||||
}
|
||||
@Override
|
||||
public void ShowNoCurrentObject() throws Exception {
|
||||
protected void ShowNoCurrentObject() throws Exception {
|
||||
super.ShowNoCurrentObject();
|
||||
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowNoServerSapfor();
|
||||
}
|
||||
|
||||
@@ -73,7 +73,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
|
||||
if (Global.mainModule.getBugReport().state.equals(BugReportState.draft))
|
||||
Global.mainModule.getBugReport().description =
|
||||
BugReportDescription.getText();
|
||||
Global.componentsServer.db.bugReports.RefreshUI();
|
||||
Global.componentsServer.db.bugReports.getUI().Refresh();
|
||||
}
|
||||
};
|
||||
DocumentListener commentListener = new DocumentListener() {
|
||||
|
||||
@@ -90,7 +90,7 @@ public class VariantsForm implements VariantsWindow {
|
||||
}
|
||||
@Override
|
||||
public void RefreshVariants() {
|
||||
Global.mainModule.getProject().parallelVariants.RefreshUI();
|
||||
Global.mainModule.getProject().parallelVariants.getUI().Refresh();
|
||||
}
|
||||
@Override
|
||||
public void ShowNoVariants() {
|
||||
|
||||
Reference in New Issue
Block a user