no message

This commit is contained in:
2024-10-22 17:27:41 +03:00
parent a60fd375d0
commit a0ceafff0a
57 changed files with 319 additions and 323 deletions

View File

@@ -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();
}
}

View File

@@ -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

View File

@@ -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

View File

@@ -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();
}
}

View File

@@ -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();
}
}

View File

@@ -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();
}
}

View File

@@ -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<>();
}
}

View File

@@ -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<>();
}
}

View File

@@ -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();
}
}

View File

@@ -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();
}
}

View File

@@ -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

View File

@@ -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();
}

View File

@@ -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();
}

View File

@@ -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();
}
}