no message
This commit is contained in:
13
.idea/workspace.xml
generated
13
.idea/workspace.xml
generated
@@ -7,20 +7,9 @@
|
|||||||
</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/Common/UI/Tables/ConfigurationAutoRenderer.java" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/src/Common/UI/Tables/ConfigurationAutoSwitcher.java" afterDir="false" />
|
|
||||||
<change afterPath="$PROJECT_DIR$/src/icons/RedPick.png" 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/UI/Tables/TableEditors.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/UI/Tables/TableEditors.java" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/Common/UI/Tables/ConfigurationAutoSwitcher.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/UI/Tables/ConfigurationAutoSwitcher.java" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/Common/UI/Tables/TableRenderers.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/UI/Tables/TableRenderers.java" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/Common/UI/UI.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Common/UI/UI.java" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/TestingSystem/Common/Configuration/Configuration.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/TestingSystem/Common/Configuration/Configuration.java" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/TestingSystem/DVM/DVMConfiguration/DVMConfigurationDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/TestingSystem/DVM/DVMConfiguration/DVMConfigurationDBTable.java" afterDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/TestingSystem/SAPFOR/SapforConfiguration/SapforConfigurationDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/TestingSystem/SAPFOR/SapforConfiguration/SapforConfigurationDBTable.java" afterDir="false" />
|
<change beforePath="$PROJECT_DIR$/src/TestingSystem/SAPFOR/SapforConfiguration/SapforConfigurationDBTable.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/TestingSystem/SAPFOR/SapforConfiguration/SapforConfigurationDBTable.java" afterDir="false" />
|
||||||
<change beforePath="$PROJECT_DIR$/src/Visual_DVM_2021/Passes/All/AddSapforPackage.java" beforeDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/Visual_DVM_2021/Passes/All/AddTasksToSapforPackage.java" beforeDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/Visual_DVM_2021/Passes/All/StartSapforPackage.java" beforeDir="false" />
|
|
||||||
<change beforePath="$PROJECT_DIR$/src/Visual_DVM_2021/Passes/PassCode_2021.java" beforeDir="false" afterPath="$PROJECT_DIR$/src/Visual_DVM_2021/Passes/PassCode_2021.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" />
|
||||||
|
|||||||
@@ -1,10 +1,35 @@
|
|||||||
package Common.UI.Tables;
|
package Common.UI.Tables;
|
||||||
|
import Common.Global;
|
||||||
|
import Common.UI.VisualCache.VisualCaches;
|
||||||
import TestingSystem.Common.Configuration.Configuration;
|
import TestingSystem.Common.Configuration.Configuration;
|
||||||
|
import TestingSystem.Common.TestingServer;
|
||||||
|
import TestingSystem.SAPFOR.SapforConfiguration.SapforConfiguration;
|
||||||
|
import Visual_DVM_2021.Passes.Pass_2021;
|
||||||
|
import Visual_DVM_2021.Passes.Server.EditServerObject;
|
||||||
public class ConfigurationAutoSwitcher extends DBObjectEditor<Configuration> {
|
public class ConfigurationAutoSwitcher extends DBObjectEditor<Configuration> {
|
||||||
@Override
|
@Override
|
||||||
public void Action() {
|
public void Action() {
|
||||||
value.SwitchAuto();
|
value.SwitchAuto();
|
||||||
setIcon(value.GetAutoIcon());
|
setIcon(value.GetAutoIcon());
|
||||||
|
///-
|
||||||
|
Pass_2021 pass = new EditServerObject<TestingServer,Configuration> (Global.testingServer, Configuration.class){
|
||||||
|
@Override
|
||||||
|
protected boolean canStart(Object... args) throws Exception {
|
||||||
|
target = (Configuration) args[0];
|
||||||
|
return true;
|
||||||
|
}
|
||||||
|
@Override
|
||||||
|
public String getDescription() {
|
||||||
|
return "Обновить флаг автоматического тестирования";
|
||||||
|
}
|
||||||
|
@Override
|
||||||
|
protected void showDone() throws Exception {
|
||||||
|
VisualCaches.RefreshCache(target);
|
||||||
|
if (target instanceof SapforConfiguration)
|
||||||
|
Global.testingServer.db.sapforConfigurations.ShowUI(target.id);
|
||||||
|
}
|
||||||
|
};
|
||||||
|
pass.Do(value);
|
||||||
}
|
}
|
||||||
@Override
|
@Override
|
||||||
public Object getCellEditorValue() {
|
public Object getCellEditorValue() {
|
||||||
|
|||||||
@@ -39,6 +39,8 @@ public class SapforConfigurationDBTable extends iDBTable<SapforConfiguration> {
|
|||||||
protected void AdditionalInitColumns() {
|
protected void AdditionalInitColumns() {
|
||||||
columns.get(4).setRenderer(TableRenderers.RendererAutoConfiguration);
|
columns.get(4).setRenderer(TableRenderers.RendererAutoConfiguration);
|
||||||
columns.get(4).setEditor(TableEditors.EditorAutoConfiguration);
|
columns.get(4).setEditor(TableEditors.EditorAutoConfiguration);
|
||||||
|
columns.get(4).setMinWidth(25);
|
||||||
|
columns.get(4).setMaxWidth(25);
|
||||||
columns.get(5).setMaxWidth(300);
|
columns.get(5).setMaxWidth(300);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
@@ -48,7 +50,7 @@ public class SapforConfigurationDBTable extends iDBTable<SapforConfiguration> {
|
|||||||
return new String[]{
|
return new String[]{
|
||||||
"имя",
|
"имя",
|
||||||
"автор",
|
"автор",
|
||||||
"авто",
|
"",
|
||||||
"группы",
|
"группы",
|
||||||
"тестов",
|
"тестов",
|
||||||
"флаги"
|
"флаги"
|
||||||
|
|||||||
Reference in New Issue
Block a user