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

77
.idea/workspace.xml generated
View File

@@ -7,72 +7,63 @@
</component> </component>
<component name="ChangeListManager"> <component name="ChangeListManager">
<list default="true" id="e42177c3-2328-4b27-8a01-35779b2beb99" name="Default Changelist" comment=""> <list default="true" id="e42177c3-2328-4b27-8a01-35779b2beb99" name="Default Changelist" comment="">
<change afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Compiler/UI/CompilerDialog.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/DVMParameter/UI/DVMParameterDialog.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/EnvironmentValue/UI/EnvironmentValueDialog.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Machine/UI/MachineDialog.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/RunConfiguration/UI/RunConfigurationDialog.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/SapforProfile/UI/SapforProfileDialog.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/User/UI/UserDialog.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/Group/UI/GroupDialog.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/Test/UI/TestDialog.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMConfiguration/UI/DVMConfigurationDialog.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMSettings/UI/DVMSettingsDialog.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforConfiguration/UI/SapforConfigurationDialog.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettings/UI/SapforSettingsDialog.java" afterDir="false" />
<change afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettingsCommand/UI/SapforSettingsCommandDialog.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" /> <change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Common/Database/Database.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Database/Database.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Common/Database/Tables/DBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Database/Tables/DBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Common/Database/Tables/DataSet.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Database/Tables/DataSet.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Common/Database/Tables/DataSet.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Database/Tables/DataSet.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Common/Passes/AddObjectPass.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Passes/AddObjectPass.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Common/Passes/DeleteObjectPass.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Passes/DeleteObjectPass.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Common/Passes/DeleteObjectPass.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Passes/DeleteObjectPass.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Common/Passes/DeleteObjectsPass.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Passes/DeleteObjectsPass.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Common/Passes/DeleteObjectsPass.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Passes/DeleteObjectsPass.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Common/Passes/EditObjectPass.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Passes/EditObjectPass.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Common/Passes/EditObjectPass.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Passes/EditObjectPass.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/Common/Visual/DataSetControlForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Visual/DataSetControlForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Common/Visual/DataSetControlForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Visual/DataSetControlForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Compiler/CompilersDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Compiler/CompilersDBTable.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/Common/Visual/Windows/Dialog/DBObjectDialog.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/Visual/Windows/Dialog/DBObjectDialog.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Global.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Global.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Compiler/UI/CompilersForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Compiler/UI/CompilersForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Compiler/UI/CompilersForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Compiler/UI/CompilersForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/DVMParameter/DVMParameterDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/DVMParameter/DVMParameterDBTable.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/CompilerEnvironment/UI/CompilerEnvironmentsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/CompilerEnvironment/UI/CompilerEnvironmentsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/CompilerOption/UI/CompilerOptionsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/CompilerOption/UI/CompilerOptionsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/DVMParameter/UI/DVMParametersForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/DVMParameter/UI/DVMParametersForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/DVMParameter/UI/DVMParametersForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/DVMParameter/UI/DVMParametersForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/EnvironmentValue/EnvironmentValuesDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/EnvironmentValue/EnvironmentValuesDBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/EnvironmentValue/UI/EnvironmentsValuesForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/EnvironmentValue/UI/EnvironmentsValuesForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/EnvironmentValue/UI/EnvironmentsValuesForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/EnvironmentValue/UI/EnvironmentsValuesForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Machine/MachinesDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Machine/MachinesDBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Machine/UI/MachinesForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Machine/UI/MachinesForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Machine/UI/MachinesForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Machine/UI/MachinesForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Makefile/MakefilesDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Makefile/MakefilesDBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Makefile/UI/MakefilesForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Makefile/UI/MakefilesForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Makefile/UI/MakefilesForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Makefile/UI/MakefilesForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Module/ModulesDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Module/ModulesDBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Module/UI/ModulesForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Module/UI/ModulesForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Module/UI/ModulesForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Module/UI/ModulesForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/RunConfiguration/RunConfigurationsDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/RunConfiguration/RunConfigurationsDBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/RunConfiguration/UI/RunConfigurationsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/RunConfiguration/UI/RunConfigurationsForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/RunConfiguration/UI/RunConfigurationsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/RunConfiguration/UI/RunConfigurationsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/SapforProfile/SapforProfilesDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/SapforProfile/SapforProfilesDBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/SapforProfile/UI/SapforProfilesForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/SapforProfile/UI/SapforProfilesForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/SapforProfile/UI/SapforProfilesForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/SapforProfile/UI/SapforProfilesForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/SapforProfileSetting/UI/SapforProfileSettingsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/SapforProfileSetting/UI/SapforProfileSettingsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Tasks/CompilationTask/UI/CompilationTasksForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Tasks/CompilationTask/UI/CompilationTasksForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Tasks/RunTask/UI/RunTasksForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/Tasks/RunTask/UI/RunTasksForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/User/UI/UsersForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/User/UI/UsersForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/User/UI/UsersForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/User/UI/UsersForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/User/UsersDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/GlobalData/User/UsersDBTable.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/AppendBugReportField.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/AppendBugReportField.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/AddSubscriber.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/AddSubscriber.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/InitialiseUser.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/InitialiseUser.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/EditAccount.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/EditAccount.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/PublishBugReport.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/PublishBugReport.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/Server/DeleteServerObject.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/Server/DeleteServerObject.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/Run.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/Run.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/Server/DeleteServerObjects.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/Server/DeleteServerObjects.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/ShowCompilerVersion.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/ShowCompilerVersion.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/Server/EditServerObject.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/Server/EditServerObject.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/UpdateBugReportField.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/All/UpdateBugReportField.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/Server/ServerObjectPass.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/Server/ServerObjectPass.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/Passes/Testing/ActualizeTestingPackages.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Passes/Testing/ActualizeTestingPackages.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Repository/Subscribes/SubsribersDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Repository/Subscribes/SubsribersDBTable.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/DBArray/UI/DBArraysForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/DBArray/UI/DBArraysForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Repository/Subscribes/UI/SubscriberForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Repository/Subscribes/UI/SubscriberDialog.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Messages/Errors/ErrorsDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Messages/Errors/ErrorsDBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Messages/MessagesControlForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Messages/MessagesControlForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Messages/Notes/NotesDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Messages/Notes/NotesDBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Messages/Recommendations/UI/RecommendationsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Messages/Recommendations/UI/RecommendationsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Messages/Warnings/WarningsDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/Messages/Warnings/WarningsDBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/SapforData/Arrays/UI/ProjectArraysForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/SapforData/Arrays/UI/ProjectArraysForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/SapforData/Regions/UI/ParallelRegionsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/SapforData/Regions/UI/ParallelRegionsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/SapforData/Variants/UI/ParallelVariantsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/ProjectData/SapforData/Variants/UI/ParallelVariantsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Repository/BugReport/UI/BugReportsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Repository/BugReport/UI/BugReportsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Repository/Component/UI/ComponentsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Repository/Component/UI/ComponentsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Repository/SubscriberWorkspace/UI/SubscriberWorkspacesForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Repository/SubscriberWorkspace/UI/SubscriberWorkspacesForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Repository/Subscribes/UI/SubsribersForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Repository/Subscribes/UI/SubsribersForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/Repository/Subscribes/UI/SubsribersForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Repository/Subscribes/UI/SubsribersForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/Group/GroupsDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/Group/GroupsDBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/Group/UI/GroupsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/Group/UI/GroupsForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/Group/UI/GroupsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/Group/UI/GroupsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/Test/TestDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/Test/TestDBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/Test/UI/TestsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/Test/UI/TestsForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/Test/UI/TestsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/Common/Test/UI/TestsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMConfiguration/DVMConfigurationDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMConfiguration/DVMConfigurationDBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMConfiguration/UI/ConfigurationFields.form" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMConfiguration/UI/DVMConfigurationFields.form" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMConfiguration/UI/ConfigurationFields.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMConfiguration/UI/DVMConfigurationFields.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMConfiguration/UI/DVMConfigurationsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMConfiguration/UI/DVMConfigurationsForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMConfiguration/UI/DVMConfigurationsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMConfiguration/UI/DVMConfigurationsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMSettings/DVMSettingsDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMSettings/DVMSettingsDBTable.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMPackage/UI/DVMPackagesForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMPackage/UI/DVMPackagesForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMSettings/UI/DVMSettingsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMSettings/UI/DVMSettingsForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMSettings/UI/DVMSettingsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMSettings/UI/DVMSettingsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforConfiguration/SapforConfigurationDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforConfiguration/SapforConfigurationDBTable.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMTasks/UI/DVMRunTasksForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/DVM/DVMTasks/UI/DVMRunTasksForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforConfiguration/UI/SapforConfigurationsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforConfiguration/UI/SapforConfigurationsForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforConfiguration/UI/SapforConfigurationsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforConfiguration/UI/SapforConfigurationsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettings/SapforSettingsDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettings/SapforSettingsDBTable.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforPackage/UI/SapforPackagesForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforPackage/UI/SapforPackagesForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettings/UI/SapforSettingsCommandFields.form" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettingsCommand/UI/SapforSettingsCommandFields.form" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettings/UI/SapforSettingsCommandFields.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettingsCommand/UI/SapforSettingsCommandFields.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettings/UI/SapforSettingsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettings/UI/SapforSettingsForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettings/UI/SapforSettingsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettings/UI/SapforSettingsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettingsCommand/SapforSettingsCommandsDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettingsCommand/SapforSettingsCommandsDBTable.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettingsCommand/UI/SapforSettingsCommandsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettingsCommand/UI/SapforSettingsCommandsForm.java" afterDir="false" /> <change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettingsCommand/UI/SapforSettingsCommandsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/SapforSettingsCommand/UI/SapforSettingsCommandsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/ServerSapfor/UI/ServerSapforsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/TestingSystem/SAPFOR/ServerSapfor/UI/ServerSapforsForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Visual/Windows/CallbackForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Visual/Windows/CallbackForm.java" afterDir="false" />
<change beforePath="$PROJECT_DIR$/src/_VisualDVM/Visual/Windows/VariantsForm.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/_VisualDVM/Visual/Windows/VariantsForm.java" afterDir="false" />
</list> </list>
<option name="SHOW_DIALOG" value="false" /> <option name="SHOW_DIALOG" value="false" />
<option name="HIGHLIGHT_CONFLICTS" value="true" /> <option name="HIGHLIGHT_CONFLICTS" value="true" />

View File

@@ -86,7 +86,7 @@ public abstract class Database {
public DBObject InsertS(DBObject object) throws Exception { public DBObject InsertS(DBObject object) throws Exception {
DBTable table = tables.get(object.getClass()); DBTable table = tables.get(object.getClass());
if (!(object instanceof iDBObject) && table.Data.containsKey(object.getPK())) if (!(object instanceof iDBObject) && table.Data.containsKey(object.getPK()))
throw new RepositoryRefuseException("Таблица " + Utils_.Brackets(table.Name) + " уже содержит объект с ключом " + Utils_.Brackets(object.getPK().toString())); throw new RepositoryRefuseException("Таблица " + Utils_.Brackets(table.getName()) + " уже содержит объект с ключом " + Utils_.Brackets(object.getPK().toString()));
insert(table, object); insert(table, object);
table.Data.put(object.getPK(), object); table.Data.put(object.getPK(), object);
return object; return object;
@@ -113,7 +113,7 @@ public abstract class Database {
table.Data.remove(o.getPK()); table.Data.remove(o.getPK());
return o; return o;
} else } else
throw new RepositoryRefuseException("Таблица " + Utils_.Brackets(table.Name) + " не содержит объект с ключом " + Utils_.Brackets(to_delete.getPK().toString())); throw new RepositoryRefuseException("Таблица " + Utils_.Brackets(table.getName()) + " не содержит объект с ключом " + Utils_.Brackets(to_delete.getPK().toString()));
} }
public DBObject DeleteByPK(Class object_class, Object key) throws Exception { public DBObject DeleteByPK(Class object_class, Object key) throws Exception {
DBTable table = tables.get(object_class); DBTable table = tables.get(object_class);
@@ -123,7 +123,7 @@ public abstract class Database {
table.Data.remove(key); table.Data.remove(key);
return o; return o;
} else } else
throw new RepositoryRefuseException("Таблица " + Utils_.Brackets(table.Name) + " не содержит объект с ключом " + Utils_.Brackets(key.toString())); throw new RepositoryRefuseException("Таблица " + Utils_.Brackets(table.getName()) + " не содержит объект с ключом " + Utils_.Brackets(key.toString()));
} }
// не работает с автоинкрементом. // не работает с автоинкрементом.
public DBObject getObjectCopyByPK(Class table_class, Object pk) throws Exception { public DBObject getObjectCopyByPK(Class table_class, Object pk) throws Exception {

View File

@@ -29,7 +29,7 @@ public abstract class DBTable<K, D extends DBObject> extends DataSet<K, D> {
} }
@Override @Override
public String toString() { public String toString() {
StringBuilder res = new StringBuilder(Name + "\n"); StringBuilder res = new StringBuilder(getName() + "\n");
for (DBTableColumn c : columns.values()) for (DBTableColumn c : columns.values())
res.append(c).append("\n"); res.append(c).append("\n");
return res.toString(); return res.toString();

View File

@@ -9,18 +9,31 @@ import java.util.Comparator;
import java.util.LinkedHashMap; import java.util.LinkedHashMap;
import java.util.Vector; import java.util.Vector;
public class DataSet<K, D extends DBObject> extends DataSetAnchestor { public class DataSet<K, D extends DBObject> extends DataSetAnchestor {
public String Name;
public Class<K> k; //класс первичного ключа. public Class<K> k; //класс первичного ключа.
public Class<D> d; //класс объектов. public Class<D> d; //класс объектов.
public LinkedHashMap<K, D> Data = new LinkedHashMap<>(); //наполнение public LinkedHashMap<K, D> Data = new LinkedHashMap<>(); //наполнение
//- //-
protected DataSetControlForm ui = null; DataSetControlForm ui = null;
//-- //--
public DataSet(Class<K> k_in, Class<D> d_in) { public DataSet(Class<K> k_in, Class<D> d_in) {
k = k_in; k = k_in;
d = d_in; d = d_in;
Name = d.getSimpleName();
} }
//---
protected DataSetControlForm createUI(JPanel mountPanel) {
return null;
}
//БАЗА ДАННЫХ
public String getName() {
return d.getSimpleName();
}
public String QName() {
return "\"" + getName() + "\"";
}
public String getPKName() {
return "";
} //получить имя ключевого поля. нужно для таблиц.
//ИНТЕРФЕЙС
public DataSetControlForm<D> getUI() { public DataSetControlForm<D> getUI() {
return ui; return ui;
} }
@@ -34,15 +47,17 @@ public class DataSet<K, D extends DBObject> extends DataSetAnchestor {
ui.Clear(); ui.Clear();
} }
} }
public void RefreshUI() { public void ShowUI() {
if (ui != null) ui.Refresh(); if (ui != null) {
ui.Show();
}
} }
public int getRowCountUI() { public void ShowUI(Object key) {
return ui.getRowCount(); if (ui != null) {
} ui.Show(key);
protected DataSetControlForm createUI(JPanel mountPanel) { }
return null;
} }
//СОДЕРЖИМОЕ
public D getFirstRecord() { public D getFirstRecord() {
return Data.values().stream().findFirst().orElse(null); return Data.values().stream().findFirst().orElse(null);
} }
@@ -51,13 +66,6 @@ public class DataSet<K, D extends DBObject> extends DataSetAnchestor {
res.sort(comparator); res.sort(comparator);
return res; return res;
} }
public String QName() {
return "\"" + Name + "\"";
}
public String getPKName() {
return "";
} //получить имя ключевого поля. нужно для таблиц.
//-
public void put(Object key, D object) { public void put(Object key, D object) {
Data.put((K) key, object); Data.put((K) key, object);
} }
@@ -73,16 +81,6 @@ public class DataSet<K, D extends DBObject> extends DataSetAnchestor {
public boolean containsKey(Object key) { public boolean containsKey(Object key) {
return Data.containsKey(key); return Data.containsKey(key);
} }
public void ShowUI() {
if (ui != null) {
ui.Show();
}
}
public void ShowUI(Object key) {
if (ui != null) {
ui.Show(key);
}
}
public PassCode_ getDeletePassCode() { public PassCode_ getDeletePassCode() {
return null; return null;
} }

View File

@@ -49,7 +49,7 @@ public abstract class DeleteObjectPass<D extends DBObject> extends ObjectPass<D>
protected void performFinish() throws Exception { protected void performFinish() throws Exception {
getTable().ShowUI(); getTable().ShowUI();
for (Class dep : getTable().getFKDependencies().keySet()) { for (Class dep : getTable().getFKDependencies().keySet()) {
getDb().getTable(dep).RefreshUI(); getDb().getTable(dep).getUI().Refresh();
} }
} }
} }

View File

@@ -53,7 +53,7 @@ public abstract class DeleteObjectsPass<D extends DBObject> extends ObjectsPass<
protected void performFinish() throws Exception { protected void performFinish() throws Exception {
getTable().ShowUI(); getTable().ShowUI();
for (Class dep : getTable().getFKDependencies().keySet()) { for (Class dep : getTable().getFKDependencies().keySet()) {
getDb().getTable(dep).RefreshUI(); getDb().getTable(dep).getUI().Refresh();
} }
} }
} }

View File

@@ -21,6 +21,6 @@ public abstract class EditObjectPass<D extends DBObject> extends ObjectPass<D> {
protected void showFinish() throws Exception { protected void showFinish() throws Exception {
getTable().ShowUI(target.getPK()); getTable().ShowUI(target.getPK());
for (Class dep : getTable().getFKDependencies().keySet()) for (Class dep : getTable().getFKDependencies().keySet())
getDb().getTable(dep).RefreshUI(); getDb().getTable(dep).getUI().Refresh();
} }
} }

View File

@@ -72,10 +72,10 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
} }
} }
} }
public String getPluralDescription() { protected String getPluralDescription() {
return ""; return "";
} }
public String getSingleDescription() { protected String getSingleDescription() {
return ""; return "";
} }
<M> Vector<M> getFilters(Class<M> f) { <M> Vector<M> getFilters(Class<M> f) {
@@ -88,7 +88,7 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
} }
return res; return res;
} }
public void AddFilter(DBObjectFilter_<D> filter_in) { protected void AddFilter(DBObjectFilter_<D> filter_in) {
allFilters.add(filter_in); allFilters.add(filter_in);
} }
public ColumnInfo getColumnInfo(int i) { public ColumnInfo getColumnInfo(int i) {
@@ -98,11 +98,11 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
protected String[] getUIColumnNames() { protected String[] getUIColumnNames() {
return new String[]{}; return new String[]{};
} }
public Object getFieldAt(D object, int coulmnIndex) { public Object getFieldAt(D object, int columnIndex) {
return null; return null;
} }
//- //-
public void SaveColumns() { void SaveColumns() {
if (MainModule_.instance.getDb() != null) { if (MainModule_.instance.getDb() != null) {
try { try {
if (CurrentName() != null) { if (CurrentName() != null) {
@@ -124,10 +124,10 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
} }
} }
} }
private Vector<String> getHeaders() { Vector<String> getHeaders() {
return columns.stream().map(ColumnInfo::getName).collect(Collectors.toCollection(Vector::new)); return columns.stream().map(ColumnInfo::getName).collect(Collectors.toCollection(Vector::new));
} }
protected void CreateColumnsInfo() { void CreateColumnsInfo() {
columns.clear(); columns.clear();
columns.add(new ColumnInfo(dataSource.getPKName())); columns.add(new ColumnInfo(dataSource.getPKName()));
if (hasCheckBox()) { if (hasCheckBox()) {
@@ -144,9 +144,6 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
protected Comparator getDefaultComparator() { protected Comparator getDefaultComparator() {
return null; return null;
} }
public boolean isObjectVisible(D object) {
return ApplyFilters(object);
}
Vector<Object> getVisibleKeys() { Vector<Object> getVisibleKeys() {
Comparator comparator = getDefaultComparator(); Comparator comparator = getDefaultComparator();
Vector<Object> res_keys = new Vector<>(); Vector<Object> res_keys = new Vector<>();
@@ -167,7 +164,6 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
} }
return res_keys; return res_keys;
} }
@SuppressWarnings("unchecked")
@Override @Override
protected void createControl() { protected void createControl() {
CreateColumnsInfo(); CreateColumnsInfo();
@@ -350,7 +346,7 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
} }
protected void createFilters() { protected void createFilters() {
} }
protected boolean ApplyFilters(D object) { boolean ApplyFilters(D object) {
for (DBObjectFilter_ filterInterface : allFilters) { for (DBObjectFilter_ filterInterface : allFilters) {
if (!filterInterface.Validate(object)) if (!filterInterface.Validate(object))
return false; return false;
@@ -361,40 +357,7 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
protected void redrawControl() { protected void redrawControl() {
control.CorrectSizes(); control.CorrectSizes();
} }
@Override protected void ShowCurrentObject() throws Exception {
public void Show() {
for (DBObjectFilter_ filter_ : allFilters) filter_.DropMatchesCount();
super.Show();
if (counter_ui != null) counter_ui.ShowMatchesCount(getRowCount());
for (DBObjectFilter_ filter_ : allFilters) filter_.ShowMatchesCount();
}
public void Show(Object pk) {
Show();
SetCurrentByPK(pk);
}
public void SetCurrentByPK(Object pk) {
if (isShown())
control.SelectRowByPK(pk);
}
public void ClearSelection() {
if (isShown()) control.clearSelection(); //строка сбросится сама. благодаря сбросу события выбора
}
public void SelectAll(boolean flag) {
for (D object : dataSource.Data.values()) {
if (isObjectVisible(object))
object.Select(flag);
}
Refresh();
}
@Override
public void Clear() {
super.Clear();
if (counter_ui != null) counter_ui.ShowNoMatches();
}
public int getRowCount() {
return control.getRowCount();
}
public void ShowCurrentObject() throws Exception {
if (dataSource instanceof DBTable) { if (dataSource instanceof DBTable) {
DBTable table = (DBTable) dataSource; DBTable table = (DBTable) dataSource;
for (Class dep : table.getFKDependencies().keySet()) { for (Class dep : table.getFKDependencies().keySet()) {
@@ -409,7 +372,7 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
} }
} }
} }
public void ShowNoCurrentObject() throws Exception { protected void ShowNoCurrentObject() throws Exception {
if (dataSource instanceof DBTable) { if (dataSource instanceof DBTable) {
DBTable table = (DBTable) dataSource; DBTable table = (DBTable) dataSource;
for (Class dep : table.getFKDependencies().keySet()) { for (Class dep : table.getFKDependencies().keySet()) {
@@ -424,16 +387,50 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
} }
} }
} }
public void MouseAction2() throws Exception { protected void MouseAction2() throws Exception {
} }
//- //-
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return false; return false;
} }
public boolean hasMenuBar() { protected boolean hasMenuBar() {
return true; return true;
} }
//-found //-
protected Current_ CurrentName() {
return null;
}
void dropCurrent() {
MainModule_.instance.set(CurrentName(), null);
}
@SuppressWarnings("unchecked")
protected DBObjectDialog getDialog() {
return null;
}
protected boolean isObjectEditable(D object) {
return true;
}
//БАЗОВЫЙ ФУНКЦИОНАЛ ФОРМЫ
@Override
public void Show() {
for (DBObjectFilter_ filter_ : allFilters) filter_.DropMatchesCount();
super.Show();
if (counter_ui != null) counter_ui.ShowMatchesCount(getRowCount());
for (DBObjectFilter_ filter_ : allFilters) filter_.ShowMatchesCount();
}
public void Show(Object pk) {
Show();
SetCurrentByPK(pk);
}
@Override
public void Clear() {
super.Clear();
if (counter_ui != null) counter_ui.ShowNoMatches();
}
public int getRowCount() {
return control.getRowCount();
}
//ТЕКУЩИЕ И ВЫБРАННЫЕ ОБЪЕКТЫ
public void SaveLastCurrent() { public void SaveLastCurrent() {
savedCurrentKey = null; savedCurrentKey = null;
savedSelectedKeys.clear(); savedSelectedKeys.clear();
@@ -451,6 +448,9 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
SetCurrentByPK(savedCurrentKey); SetCurrentByPK(savedCurrentKey);
} }
} }
public boolean isObjectVisible(D object) {
return ApplyFilters(object);
}
public int getSelectedCount() { public int getSelectedCount() {
return (int) dataSource.Data.values().stream().filter(d -> isObjectVisible(d) && d.isSelected()).count(); return (int) dataSource.Data.values().stream().filter(d -> isObjectVisible(d) && d.isSelected()).count();
} }
@@ -460,10 +460,6 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
public Vector<Object> getSelectedKeys() { public Vector<Object> getSelectedKeys() {
return dataSource.Data.values().stream().filter(DBObject::isSelected).map(d -> d.getPK()).collect(Collectors.toCollection(Vector::new)); return dataSource.Data.values().stream().filter(DBObject::isSelected).map(d -> d.getPK()).collect(Collectors.toCollection(Vector::new));
} }
//--
public Current_ CurrentName() {
return null;
}
public boolean CheckCurrent(TextLog log) { public boolean CheckCurrent(TextLog log) {
return MainModule_.instance.Check(log, CurrentName()); return MainModule_.instance.Check(log, CurrentName());
} }
@@ -475,9 +471,6 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
} }
return true; return true;
} }
public void dropCurrent() {
MainModule_.instance.set(CurrentName(), null);
}
public D getCurrent() { public D getCurrent() {
return (D) MainModule_.instance.get(CurrentName()); return (D) MainModule_.instance.get(CurrentName());
} }
@@ -503,25 +496,36 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
} }
return res; return res;
} }
@SuppressWarnings("unchecked") public void SetCurrentByPK(Object pk) {
public DBObjectDialog getDialog() { if (isShown())
return null; control.SelectRowByPK(pk);
} }
public void ClearSelection() {
if (isShown()) control.clearSelection(); //строка сбросится сама. благодаря сбросу события выбора
}
public void SelectAll(boolean flag) {
for (D object : dataSource.Data.values()) {
if (isObjectVisible(object))
object.Select(flag);
}
Refresh();
}
//ДИАЛОГИ
public boolean ShowAddObjectDialog(D object) { public boolean ShowAddObjectDialog(D object) {
return getDialog().ShowDialog(getSingleDescription() + ": добавление", object); return getDialog().ShowDialog(getSingleDescription() + ": добавление", object);
} }
//todo встроить развилку на возможность редактирования объекты boolean isObjectEditable(D object){return true;}
public boolean ShowEditObjectDialog(D object) { public boolean ShowEditObjectDialog(D object) {
DBObjectDialog dialog = getDialog(); DBObjectDialog dialog = getDialog();
dialog.edit = true; dialog.edit = true;
dialog.SetEditLimits(); dialog.SetEditLimits();
return dialog.ShowDialog(getSingleDescription() + ": редактирование", object); String title = getSingleDescription() + ": ";
} if (isObjectEditable(object)) {
public boolean ViewObject(D object) { title += "редактирование";
DBObjectDialog dialog = getDialog(); } else {
dialog.SetReadonly(); title += "просмотр";
dialog.ShowDialog(getSingleDescription() + ": просмотр", object); dialog.SetReadonly();
return false; }
return dialog.ShowDialog(title, object);
} }
public boolean ShowDeleteObjectDialog(D object) { public boolean ShowDeleteObjectDialog(D object) {
return UI.Warning(getSingleDescription() + " " + object.getBDialogName() + " будет удален(а)"); return UI.Warning(getSingleDescription() + " " + object.getBDialogName() + " будет удален(а)");

View File

@@ -12,6 +12,7 @@ public abstract class DBObjectDialog<T extends DBObject, F extends DialogFields>
Result = (T) params[0]; Result = (T) params[0];
fillFields(); fillFields();
} }
//todo перенести в поля(?). тогда достаточно будет подавать класс полей.
public void SetEditLimits() { public void SetEditLimits() {
//установить ограничения если объект в режиме редактирования( например нельзя менять тип машины, или почту адресата) //установить ограничения если объект в режиме редактирования( например нельзя менять тип машины, или почту адресата)
} }

View File

@@ -163,8 +163,10 @@ public class Global {
} }
System.exit(0); System.exit(0);
} }
//todo запихнуть в ComponentsSet
public static void RefreshUpdatesStatus() { public static void RefreshUpdatesStatus() {
Components.RefreshUI(); if (Components.getUI() != null)
Components.getUI().Refresh();
ValidateComponentsStates(); ValidateComponentsStates();
if (mainModule.getUI().hasMainWindow()) if (mainModule.getUI().hasMainWindow())
mainModule.getUI().getMainWindow().ShowUpdatesIcon(); mainModule.getUI().getMainWindow().ShowUpdatesIcon();

View File

@@ -15,19 +15,19 @@ public class CompilersForm extends DataSetControlForm<Compiler> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.Compiler; return Current.Compiler;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "компилятор"; return "компилятор";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "компиляторы"; return "компиляторы";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -57,12 +57,12 @@ public class CompilersForm extends DataSetControlForm<Compiler> {
columns.get(0).setVisible(false); columns.get(0).setVisible(false);
} }
@Override @Override
public void ShowCurrentObject() throws Exception { protected void ShowCurrentObject() throws Exception {
super.ShowCurrentObject(); super.ShowCurrentObject();
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentCompiler(); Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentCompiler();
} }
@Override @Override
public void ShowNoCurrentObject() throws Exception { protected void ShowNoCurrentObject() throws Exception {
super.ShowNoCurrentObject(); super.ShowNoCurrentObject();
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentCompiler(); 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); return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.Machine, object.machine_id);
} }
@Override @Override
public DBObjectDialog getDialog() { protected DBObjectDialog getDialog() {
return new CompilerDialog(); return new CompilerDialog();
} }
} }

View File

@@ -10,7 +10,7 @@ public class CompilerEnvironmentsForm extends DataSetControlForm<CompilerEnviron
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override

View File

@@ -10,7 +10,7 @@ public class CompilerOptionsForm extends DataSetControlForm<CompilerOption> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override

View File

@@ -14,15 +14,15 @@ public class DVMParametersForm extends DataSetControlForm<DVMParameter> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.DVMParameterValue; return Current.DVMParameterValue;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "параметр DVM системы"; return "параметр DVM системы";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "параметры DVM"; return "параметры DVM";
} }
@Override @Override
@@ -54,7 +54,7 @@ public class DVMParametersForm extends DataSetControlForm<DVMParameter> {
PassCode.DeleteDVMParameter); PassCode.DeleteDVMParameter);
} }
@Override @Override
public DBObjectDialog<DVMParameter, ? extends DialogFields> getDialog() { protected DBObjectDialog<DVMParameter, ? extends DialogFields> getDialog() {
return new DVMParameterDialog(); return new DVMParameterDialog();
} }
} }

View File

@@ -15,15 +15,15 @@ public class EnvironmentsValuesForm extends DataSetControlForm<EnvironmentValue>
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.EnvironmentValue; return Current.EnvironmentValue;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "переменная окружения"; return "переменная окружения";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "переменные окружения"; return "переменные окружения";
} }
@Override @Override
@@ -59,7 +59,7 @@ public class EnvironmentsValuesForm extends DataSetControlForm<EnvironmentValue>
return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.RunConfiguration, object.run_configuration_id); return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.RunConfiguration, object.run_configuration_id);
} }
@Override @Override
public DBObjectDialog<EnvironmentValue, ? extends DialogFields> getDialog() { protected DBObjectDialog<EnvironmentValue, ? extends DialogFields> getDialog() {
return new EnvironmentValueDialog(); return new EnvironmentValueDialog();
} }
} }

View File

@@ -18,19 +18,19 @@ public class MachinesForm extends DataSetControlForm<Machine> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.Machine; return Current.Machine;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "машина"; return "машина";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "машины"; return "машины";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -47,13 +47,13 @@ public class MachinesForm extends DataSetControlForm<Machine> {
} }
} }
@Override @Override
public void ShowCurrentObject() throws Exception { protected void ShowCurrentObject() throws Exception {
super.ShowCurrentObject(); super.ShowCurrentObject();
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentCompiler(); Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentCompiler();
Global.mainModule.getUI().getCredentialsMenuBar().ShowMachine(); Global.mainModule.getUI().getCredentialsMenuBar().ShowMachine();
} }
@Override @Override
public void ShowNoCurrentObject() throws Exception { protected void ShowNoCurrentObject() throws Exception {
super.ShowNoCurrentObject(); super.ShowNoCurrentObject();
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentCompiler(); Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentCompiler();
Global.mainModule.getUI().getCredentialsMenuBar().ShowNoMachine(); Global.mainModule.getUI().getCredentialsMenuBar().ShowNoMachine();
@@ -85,7 +85,7 @@ public class MachinesForm extends DataSetControlForm<Machine> {
}; };
} }
@Override @Override
public DBObjectDialog<Machine, ? extends DialogFields> getDialog() { protected DBObjectDialog<Machine, ? extends DialogFields> getDialog() {
return new MachineDialog(); return new MachineDialog();
} }
} }

View File

@@ -16,19 +16,19 @@ public class MakefilesForm extends DataSetControlForm<Makefile> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.Makefile; return Current.Makefile;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "мейкфайл"; return "мейкфайл";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "мейкфайлы"; return "мейкфайлы";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -75,7 +75,7 @@ public class MakefilesForm extends DataSetControlForm<Makefile> {
MainModule_.instance.matchCurrentID(Current.Machine, object.machine_id); MainModule_.instance.matchCurrentID(Current.Machine, object.machine_id);
} }
@Override @Override
public DBObjectDialog<Makefile, ModuleAnchestorFields> getDialog() { protected DBObjectDialog<Makefile, ModuleAnchestorFields> getDialog() {
return new ModuleAnchestorForm<>(); return new ModuleAnchestorForm<>();
} }
} }

View File

@@ -15,19 +15,19 @@ public class ModulesForm extends DataSetControlForm<Module> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.Module; return Current.Module;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "языковой модуль"; return "языковой модуль";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "языковые модули"; return "языковые модули";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -67,7 +67,7 @@ public class ModulesForm extends DataSetControlForm<Module> {
return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.Makefile, object.makefile_id); return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.Makefile, object.makefile_id);
} }
@Override @Override
public DBObjectDialog<Module, ? extends DialogFields> getDialog() { protected DBObjectDialog<Module, ? extends DialogFields> getDialog() {
return new ModuleAnchestorForm<>(); return new ModuleAnchestorForm<>();
} }
} }

View File

@@ -14,15 +14,15 @@ public class RunConfigurationsForm extends DataSetControlForm<RunConfiguration>
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.RunConfiguration; return Current.RunConfiguration;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "конфигурация запуска"; return "конфигурация запуска";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "конфигурации запуска"; return "конфигурации запуска";
} }
@Override @Override
@@ -80,7 +80,7 @@ public class RunConfigurationsForm extends DataSetControlForm<RunConfiguration>
return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.Machine, object.machine_id); return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.Machine, object.machine_id);
} }
@Override @Override
public DBObjectDialog getDialog() { protected DBObjectDialog getDialog() {
return new RunConfigurationDialog(); return new RunConfigurationDialog();
} }
} }

View File

@@ -15,19 +15,19 @@ public class SapforProfilesForm extends DataSetControlForm<SapforProfile> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.SapforProfile; return Current.SapforProfile;
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "профили SAPFOR"; return "профили SAPFOR";
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "профиль SAPFOR"; return "профиль SAPFOR";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -57,7 +57,7 @@ public class SapforProfilesForm extends DataSetControlForm<SapforProfile> {
PassCode.DeleteProfile); PassCode.DeleteProfile);
} }
@Override @Override
public DBObjectDialog<SapforProfile, ? extends DialogFields> getDialog() { protected DBObjectDialog<SapforProfile, ? extends DialogFields> getDialog() {
return new SapforProfileDialog(); return new SapforProfileDialog();
} }
} }

View File

@@ -11,7 +11,7 @@ public class SapforProfileSettingsForm extends DataSetControlForm<SapforProfileS
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.SapforProfileSetting; return Current.SapforProfileSetting;
} }
@Override @Override
@@ -37,7 +37,7 @@ public class SapforProfileSettingsForm extends DataSetControlForm<SapforProfileS
columns.get(0).setVisible(false); columns.get(0).setVisible(false);
} }
@Override @Override
public boolean hasMenuBar() { protected boolean hasMenuBar() {
return false; return false;
} }
@Override @Override

View File

@@ -16,19 +16,19 @@ public class CompilationTasksForm extends DataSetControlForm<CompilationTask> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.CompilationTask; return Current.CompilationTask;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "задача на компиляцию"; return "задача на компиляцию";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "задачи на компиляцию"; return "задачи на компиляцию";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -54,12 +54,12 @@ public class CompilationTasksForm extends DataSetControlForm<CompilationTask> {
columns.get(13).setRendererClass(RendererStatusEnum.class); columns.get(13).setRendererClass(RendererStatusEnum.class);
} }
@Override @Override
public void ShowCurrentObject() throws Exception { protected void ShowCurrentObject() throws Exception {
super.ShowCurrentObject(); super.ShowCurrentObject();
Global.mainModule.getUI().getDebugWindow().DropRunTasksComparison(); Global.mainModule.getUI().getDebugWindow().DropRunTasksComparison();
} }
@Override @Override
public void ShowNoCurrentObject() throws Exception { protected void ShowNoCurrentObject() throws Exception {
super.ShowNoCurrentObject(); super.ShowNoCurrentObject();
Global.mainModule.getUI().getDebugWindow().DropRunTasksComparison(); Global.mainModule.getUI().getDebugWindow().DropRunTasksComparison();
} }

View File

@@ -16,19 +16,19 @@ public class RunTasksForm extends DataSetControlForm<RunTask> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.RunTask; return Current.RunTask;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "задача на запуск"; return "задача на запуск";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "задачи на запуск"; return "задачи на запуск";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -66,12 +66,12 @@ public class RunTasksForm extends DataSetControlForm<RunTask> {
columns.get(7).setRendererClass(RendererStatusEnum.class); columns.get(7).setRendererClass(RendererStatusEnum.class);
} }
@Override @Override
public void ShowCurrentObject() throws Exception { protected void ShowCurrentObject() throws Exception {
super.ShowCurrentObject(); super.ShowCurrentObject();
Global.mainModule.getUI().getDebugWindow().ShowCurrentRunTask(); Global.mainModule.getUI().getDebugWindow().ShowCurrentRunTask();
} }
@Override @Override
public void ShowNoCurrentObject() throws Exception { protected void ShowNoCurrentObject() throws Exception {
super.ShowNoCurrentObject(); super.ShowNoCurrentObject();
Global.mainModule.getUI().getDebugWindow().ShowNoCurrentRunTask(); Global.mainModule.getUI().getDebugWindow().ShowNoCurrentRunTask();
} }

View File

@@ -16,19 +16,19 @@ public class UsersForm extends DataSetControlForm<User> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.User; return Current.User;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "пользователь"; return "пользователь";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "пользователи"; return "пользователи";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -54,12 +54,12 @@ public class UsersForm extends DataSetControlForm<User> {
columns.get(3).setRendererClass(RendererStatusEnum.class); columns.get(3).setRendererClass(RendererStatusEnum.class);
} }
@Override @Override
public void ShowCurrentObject() throws Exception { protected void ShowCurrentObject() throws Exception {
super.ShowCurrentObject(); super.ShowCurrentObject();
Global.mainModule.getUI().getCredentialsMenuBar().ShowUser(); Global.mainModule.getUI().getCredentialsMenuBar().ShowUser();
} }
@Override @Override
public void ShowNoCurrentObject() throws Exception { protected void ShowNoCurrentObject() throws Exception {
super.ShowNoCurrentObject(); super.ShowNoCurrentObject();
Global.mainModule.getUI().getCredentialsMenuBar().ShowNoUser(); 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); return super.isObjectVisible(object) && super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.Machine, object.machine_id);
} }
@Override @Override
public DBObjectDialog getDialog() { protected DBObjectDialog getDialog() {
return new UserDialog(); return new UserDialog();
} }
} }

View File

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

View File

@@ -58,6 +58,6 @@ public class InitialiseUser extends Pass {
} }
@Override @Override
protected void showFinish() throws Exception { protected void showFinish() throws Exception {
Global.mainModule.getDb().users.RefreshUI(); Global.mainModule.getDb().users.getUI().Refresh();
} }
} }

View File

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

View File

@@ -81,7 +81,7 @@ public class Run extends Pass<db_project_info> {
boolean task_completed = false; boolean task_completed = false;
task.setProgress(i, runTasks.size()); task.setProgress(i, runTasks.size());
//- //-
Global.mainModule.getDb().runTasks.RefreshUI(); Global.mainModule.getDb().runTasks.getUI().Refresh();
Global.mainModule.getDb().runTasks.getUI().SetCurrentByPK(task.id); Global.mainModule.getDb().runTasks.getUI().SetCurrentByPK(task.id);
//- //-
subpass.Do(task, target); subpass.Do(task, target);
@@ -102,7 +102,7 @@ public class Run extends Pass<db_project_info> {
break; break;
} }
//- //-
Global.mainModule.getDb().runTasks.RefreshUI(); Global.mainModule.getDb().runTasks.getUI().Refresh();
Global.mainModule.getUI().getDebugWindow().ShowCurrentRunTask(); Global.mainModule.getUI().getDebugWindow().ShowCurrentRunTask();
//- //-
if (!task_completed) break; if (!task_completed) break;

View File

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

View File

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

View File

@@ -45,6 +45,6 @@ public abstract class ActualizeTestingPackages<P extends TestingPackage> extends
} }
@Override @Override
protected void showDone() throws Exception { protected void showDone() throws Exception {
getTable().RefreshUI(); getTable().getUI().Refresh();
} }
} }

View File

@@ -11,15 +11,15 @@ public class DBArraysForm extends DataSetControlForm<DBArray> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.DBArray; return Current.DBArray;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "массив"; return "массив";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "сохранённые состояния"; return "сохранённые состояния";
} }
@Override @Override
@@ -38,7 +38,7 @@ public class DBArraysForm extends DataSetControlForm<DBArray> {
} }
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override

View File

@@ -13,7 +13,7 @@ public class ErrorsDBTable extends MessagesDBTable<MessageError> {
protected DataSetControlForm createUI(JPanel mountPanel) { protected DataSetControlForm createUI(JPanel mountPanel) {
return new MessagesControlForm(this, mountPanel) { return new MessagesControlForm(this, mountPanel) {
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.Errors; return Current.Errors;
} }
}; };

View File

@@ -34,7 +34,7 @@ public class MessagesControlForm extends DataSetControlForm<Message> {
} }
} }
@Override @Override
public void ShowCurrentObject() throws Exception { protected void ShowCurrentObject() throws Exception {
super.ShowCurrentObject(); super.ShowCurrentObject();
Global.mainModule.getFile().form.getEditor().gotoLine(getCurrent().line); Global.mainModule.getFile().form.getEditor().gotoLine(getCurrent().line);
} }
@@ -45,7 +45,7 @@ public class MessagesControlForm extends DataSetControlForm<Message> {
columns.get(3).setRendererClass(RendererWrapText.class); columns.get(3).setRendererClass(RendererWrapText.class);
} }
@Override @Override
public void MouseAction2() throws Exception { protected void MouseAction2() throws Exception {
ShowCurrentObject(); ShowCurrentObject();
} }
@Override @Override
@@ -57,7 +57,7 @@ public class MessagesControlForm extends DataSetControlForm<Message> {
return Comparator.comparingInt(o -> o.line); return Comparator.comparingInt(o -> o.line);
} }
@Override @Override
public boolean hasMenuBar() { protected boolean hasMenuBar() {
return false; return false;
} }
@Override @Override

View File

@@ -13,7 +13,7 @@ public class NotesDBTable extends MessagesDBTable<MessageNote> {
protected DataSetControlForm createUI(JPanel mountPanel) { protected DataSetControlForm createUI(JPanel mountPanel) {
return new MessagesControlForm(this, mountPanel) { return new MessagesControlForm(this, mountPanel) {
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.Notes; return Current.Notes;
} }
}; };

View File

@@ -12,7 +12,7 @@ public class RecommendationsForm extends DataSetControlForm<MessageRecommendatio
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.Recommendations; return Current.Recommendations;
} }
@Override @Override
@@ -39,7 +39,7 @@ public class RecommendationsForm extends DataSetControlForm<MessageRecommendatio
AddFilter(new HeaderTextFilter(dataSource, 1, 72)); AddFilter(new HeaderTextFilter(dataSource, 1, 72));
} }
@Override @Override
public boolean hasMenuBar() { protected boolean hasMenuBar() {
return false; return false;
} }
} }

View File

@@ -14,7 +14,7 @@ public class WarningsDBTable extends MessagesDBTable<MessageWarning> {
protected DataSetControlForm createUI(JPanel mountPanel) { protected DataSetControlForm createUI(JPanel mountPanel) {
return new MessagesControlForm(this, mountPanel) { return new MessagesControlForm(this, mountPanel) {
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.Warnings; return Current.Warnings;
} }
}; };

View File

@@ -25,15 +25,15 @@ public class ProjectArraysForm extends DataSetControlForm<ProjectArray> {
} }
//-- //--
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.ProjectArray; return Current.ProjectArray;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "массив"; return "массив";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "объявленные массивы"; return "объявленные массивы";
} }
@Override @Override
@@ -48,7 +48,7 @@ public class ProjectArraysForm extends DataSetControlForm<ProjectArray> {
}; };
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override

View File

@@ -12,15 +12,15 @@ public class ParallelRegionsForm extends DataSetControlForm<ParallelRegion> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.ParallelRegionInfo; return Current.ParallelRegionInfo;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "область распараллеливания"; return "область распараллеливания";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "области распараллеливания"; return "области распараллеливания";
} }
@Override @Override

View File

@@ -15,15 +15,15 @@ public class ParallelVariantsForm extends DataSetControlForm<ParallelVariant> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.ParallelVariant; return Current.ParallelVariant;
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "варианты"; return "варианты";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override

View File

@@ -31,15 +31,15 @@ public class BugReportsForm extends DataSetControlForm<BugReport> {
} }
//-- //--
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.BugReport; return Current.BugReport;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "отчёт об ошибке"; return "отчёт об ошибке";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "отчёты об ошибках"; return "отчёты об ошибках";
} }
@Override @Override
@@ -55,12 +55,12 @@ public class BugReportsForm extends DataSetControlForm<BugReport> {
"Статус"}; "Статус"};
} }
@Override @Override
public void ShowCurrentObject() throws Exception { protected void ShowCurrentObject() throws Exception {
super.ShowCurrentObject(); super.ShowCurrentObject();
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport(); Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowCurrentBugReport();
} }
@Override @Override
public void ShowNoCurrentObject() throws Exception { protected void ShowNoCurrentObject() throws Exception {
super.ShowNoCurrentObject(); super.ShowNoCurrentObject();
Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowNoCurrentBugReport(); Global.mainModule.getUI().getMainWindow().getCallbackWindow().ShowNoCurrentBugReport();
} }
@@ -73,7 +73,7 @@ public class BugReportsForm extends DataSetControlForm<BugReport> {
columns.get(8).setRendererClass(RendererStatusEnum.class); columns.get(8).setRendererClass(RendererStatusEnum.class);
} }
@Override @Override
public void MouseAction2() throws Exception { protected void MouseAction2() throws Exception {
Global.mainModule.getPass(PassCode.OpenBugReportTestProject).Do(); Global.mainModule.getPass(PassCode.OpenBugReportTestProject).Do();
} }
@Override @Override

View File

@@ -19,19 +19,19 @@ public class ComponentsForm extends DataSetControlForm<Component> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.Component; return Current.Component;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "компонент"; return "компонент";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "компоненты"; return "компоненты";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override

View File

@@ -13,15 +13,15 @@ public class SubscriberWorkspacesForm extends DataSetControlForm<SubscriberWorks
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.SubscriberWorkspace; return Current.SubscriberWorkspace;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "рабочая папка"; return "рабочая папка";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "рабочие папки"; return "рабочие папки";
} }
@Override @Override

View File

@@ -16,19 +16,19 @@ public class SubsribersForm extends DataSetControlForm<Subscriber> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.Subscriber; return Current.Subscriber;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "адресат"; return "адресат";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "адресаты"; return "адресаты";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -68,7 +68,7 @@ public class SubsribersForm extends DataSetControlForm<Subscriber> {
PassCode.DeleteSubscriber); PassCode.DeleteSubscriber);
} }
@Override @Override
public DBObjectDialog<Subscriber, ? extends DialogFields> getDialog() { protected DBObjectDialog<Subscriber, ? extends DialogFields> getDialog() {
return new SubscriberDialog(); return new SubscriberDialog();
} }
} }

View File

@@ -22,19 +22,19 @@ public class GroupsForm extends DataSetControlForm<Group> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.Group; return Current.Group;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "группа тестов"; return "группа тестов";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "группы"; return "группы";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -112,7 +112,7 @@ public class GroupsForm extends DataSetControlForm<Group> {
}); });
} }
@Override @Override
public DBObjectDialog getDialog() { protected DBObjectDialog getDialog() {
return new GroupDialog(); return new GroupDialog();
} }
} }

View File

@@ -14,19 +14,19 @@ public class TestsForm extends DataSetControlForm<Test> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.Test; return Current.Test;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "тест"; return "тест";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "тесты"; return "тесты";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -70,7 +70,7 @@ public class TestsForm extends DataSetControlForm<Test> {
return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.Group, object.group_id); return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.Group, object.group_id);
} }
@Override @Override
public DBObjectDialog getDialog() { protected DBObjectDialog getDialog() {
return new TestDialog(); return new TestDialog();
} }
}; };

View File

@@ -17,19 +17,19 @@ public class DVMConfigurationsForm extends DataSetControlForm<DVMConfiguration>
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.DVMConfiguration; return Current.DVMConfiguration;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "конфигурация"; return "конфигурация";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "конфигурации"; return "конфигурации";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -85,11 +85,11 @@ public class DVMConfigurationsForm extends DataSetControlForm<DVMConfiguration>
PassCode.StartSelectedDVMConfigurations); PassCode.StartSelectedDVMConfigurations);
} }
@Override @Override
public DBObjectDialog getDialog() { protected DBObjectDialog getDialog() {
return new DVMConfigurationDialog(); return new DVMConfigurationDialog();
} }
@Override @Override
public boolean ShowEditObjectDialog(DVMConfiguration object) { protected boolean isObjectEditable(DVMConfiguration object) {
return (Global.mainModule.getAccount().CheckAccessRights(object.sender_address, null)) ? super.ShowEditObjectDialog(object) : ViewObject(object); return Global.mainModule.getAccount().CheckAccessRights(object.sender_address, null);
} }
} }

View File

@@ -23,19 +23,19 @@ public class DVMPackagesForm extends DataSetControlForm<DVMPackage> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.DVMPackage; return Current.DVMPackage;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "пакет"; return "пакет";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "пакеты"; return "пакеты";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -93,7 +93,7 @@ public class DVMPackagesForm extends DataSetControlForm<DVMPackage> {
columns.get(12).setRendererClass(RendererStatusEnum.class); columns.get(12).setRendererClass(RendererStatusEnum.class);
} }
@Override @Override
public void ShowCurrentObject() throws Exception { protected void ShowCurrentObject() throws Exception {
super.ShowCurrentObject(); super.ShowCurrentObject();
//-- //--
Global.testingServer.db.dvmRunTasks.ShowDVMPackage(getCurrent()); Global.testingServer.db.dvmRunTasks.ShowDVMPackage(getCurrent());
@@ -101,13 +101,13 @@ public class DVMPackagesForm extends DataSetControlForm<DVMPackage> {
//-- //--
} }
@Override @Override
public void ShowNoCurrentObject() throws Exception { protected void ShowNoCurrentObject() throws Exception {
super.ShowNoCurrentObject(); super.ShowNoCurrentObject();
Global.testingServer.db.dvmRunTasks.ShowNoPackage(); Global.testingServer.db.dvmRunTasks.ShowNoPackage();
Global.mainModule.getUI().getMainWindow().getTestingWindow().DropTestRunTasksComparison(); Global.mainModule.getUI().getMainWindow().getTestingWindow().DropTestRunTasksComparison();
} }
@Override @Override
public void MouseAction2() throws Exception { protected void MouseAction2() throws Exception {
Global.mainModule.getPass(PassCode.DownloadDVMPackage).Do(); Global.mainModule.getPass(PassCode.DownloadDVMPackage).Do();
} }
@Override @Override

View File

@@ -14,19 +14,19 @@ public class DVMSettingsForm extends DataSetControlForm<DVMSettings> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.DVMSettings; return Current.DVMSettings;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "параметры тестирования"; return "параметры тестирования";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "параметры тестирования"; return "параметры тестирования";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -77,11 +77,11 @@ public class DVMSettingsForm extends DataSetControlForm<DVMSettings> {
PassCode.DeleteDVMSettings); PassCode.DeleteDVMSettings);
} }
@Override @Override
public DBObjectDialog getDialog() { protected DBObjectDialog getDialog() {
return new DVMSettingsDialog(); return new DVMSettingsDialog();
} }
@Override @Override
public boolean ShowEditObjectDialog(DVMSettings object) { protected boolean isObjectEditable(DVMSettings object) {
return (Global.mainModule.getAccount().CheckAccessRights(object.sender_address, null)) ? super.ShowEditObjectDialog(object) : ViewObject(object); return Global.mainModule.getAccount().CheckAccessRights(object.sender_address, null);
} }
} }

View File

@@ -19,19 +19,19 @@ public class DVMRunTasksForm extends DataSetControlForm<DVMRunTask> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.DVMRunTask; return Current.DVMRunTask;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "задача"; return "задача";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "задачи"; return "задачи";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override

View File

@@ -18,19 +18,19 @@ public class SapforConfigurationsForm extends DataSetControlForm<SapforConfigura
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.SapforConfiguration; return Current.SapforConfiguration;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "конфигурация"; return "конфигурация";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "конфигурации"; return "конфигурации";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -88,7 +88,7 @@ public class SapforConfigurationsForm extends DataSetControlForm<SapforConfigura
PassCode.StartSelectedSAPFORConfigurations); PassCode.StartSelectedSAPFORConfigurations);
} }
@Override @Override
public DBObjectDialog getDialog() { protected DBObjectDialog getDialog() {
return new SapforConfigurationDialog(); return new SapforConfigurationDialog();
} }
} }

View File

@@ -23,19 +23,19 @@ public class SapforPackagesForm extends DataSetControlForm<SapforPackage> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.SapforPackage; return Current.SapforPackage;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "пакет"; return "пакет";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "пакеты"; return "пакеты";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -87,7 +87,7 @@ public class SapforPackagesForm extends DataSetControlForm<SapforPackage> {
columns.get(10).setRendererClass(RendererStatusEnum.class); columns.get(10).setRendererClass(RendererStatusEnum.class);
} }
@Override @Override
public void MouseAction2() throws Exception { protected void MouseAction2() throws Exception {
Global.mainModule.getPass(PassCode.CompareSapforPackages).Do(); Global.mainModule.getPass(PassCode.CompareSapforPackages).Do();
} }
@Override @Override

View File

@@ -13,19 +13,19 @@ public class SapforSettingsForm extends DataSetControlForm<SapforSettings> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.SapforSettings; return Current.SapforSettings;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "параметры тестирования"; return "параметры тестирования";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "параметры тестирования"; return "параметры тестирования";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -58,7 +58,7 @@ public class SapforSettingsForm extends DataSetControlForm<SapforSettings> {
PassCode.DeleteSapforSettings); PassCode.DeleteSapforSettings);
} }
@Override @Override
public DBObjectDialog getDialog() { protected DBObjectDialog getDialog() {
return new SapforSettingsDialog(); return new SapforSettingsDialog();
} }
} }

View File

@@ -14,19 +14,19 @@ public class SapforSettingsCommandsForm extends DataSetControlForm<SapforSetting
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.SapforSettingsCommand; return Current.SapforSettingsCommand;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "команда"; return "команда";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "команды"; return "команды";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -56,7 +56,7 @@ public class SapforSettingsCommandsForm extends DataSetControlForm<SapforSetting
return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.SapforSettings, object.sapforsettings_id); return super.isObjectVisible(object) && MainModule_.instance.matchCurrentID(Current.SapforSettings, object.sapforsettings_id);
} }
@Override @Override
public DBObjectDialog getDialog() { protected DBObjectDialog getDialog() {
return new SapforSettingsCommandDialog(); return new SapforSettingsCommandDialog();
} }
} }

View File

@@ -16,19 +16,19 @@ public class ServerSapforsForm extends DataSetControlForm<ServerSapfor> {
super(dataSource_in, mountPanel_in); super(dataSource_in, mountPanel_in);
} }
@Override @Override
public Current CurrentName() { protected Current CurrentName() {
return Current.ServerSapfor; return Current.ServerSapfor;
} }
@Override @Override
public String getSingleDescription() { protected String getSingleDescription() {
return "версия SAPFOR"; return "версия SAPFOR";
} }
@Override @Override
public String getPluralDescription() { protected String getPluralDescription() {
return "версии SAPFOR"; return "версии SAPFOR";
} }
@Override @Override
public boolean hasCheckBox() { protected boolean hasCheckBox() {
return true; return true;
} }
@Override @Override
@@ -60,12 +60,12 @@ public class ServerSapforsForm extends DataSetControlForm<ServerSapfor> {
columns.get(5).setRendererClass(RendererStatusEnum.class); columns.get(5).setRendererClass(RendererStatusEnum.class);
} }
@Override @Override
public void ShowCurrentObject() throws Exception { protected void ShowCurrentObject() throws Exception {
super.ShowCurrentObject(); super.ShowCurrentObject();
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentServerSapfor(); Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowCurrentServerSapfor();
} }
@Override @Override
public void ShowNoCurrentObject() throws Exception { protected void ShowNoCurrentObject() throws Exception {
super.ShowNoCurrentObject(); super.ShowNoCurrentObject();
Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowNoServerSapfor(); Global.mainModule.getUI().getMainWindow().getTestingWindow().ShowNoServerSapfor();
} }

View File

@@ -73,7 +73,7 @@ public class CallbackForm implements FormWithSplitters, CallbackWindow {
if (Global.mainModule.getBugReport().state.equals(BugReportState.draft)) if (Global.mainModule.getBugReport().state.equals(BugReportState.draft))
Global.mainModule.getBugReport().description = Global.mainModule.getBugReport().description =
BugReportDescription.getText(); BugReportDescription.getText();
Global.componentsServer.db.bugReports.RefreshUI(); Global.componentsServer.db.bugReports.getUI().Refresh();
} }
}; };
DocumentListener commentListener = new DocumentListener() { DocumentListener commentListener = new DocumentListener() {

View File

@@ -90,7 +90,7 @@ public class VariantsForm implements VariantsWindow {
} }
@Override @Override
public void RefreshVariants() { public void RefreshVariants() {
Global.mainModule.getProject().parallelVariants.RefreshUI(); Global.mainModule.getProject().parallelVariants.getUI().Refresh();
} }
@Override @Override
public void ShowNoVariants() { public void ShowNoVariants() {