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