no message
This commit is contained in:
@@ -2,6 +2,9 @@ package TestingSystem.SAPFOR.SapforConfiguration;
|
||||
import Common.Current;
|
||||
import Common.Database.*;
|
||||
import Common.UI.DataSetControlForm;
|
||||
import Common.UI.Tables.TableRenderers;
|
||||
import Common.UI.VisualCache.ConfigurationCache;
|
||||
import Common.UI.VisualCache.VisualCaches;
|
||||
import Common.UI.Windows.Dialog.DBObjectDialog;
|
||||
import Common.Utils.Utils;
|
||||
import TestingSystem.SAPFOR.SapforConfiguration.UI.SapforConfigurationFields;
|
||||
@@ -33,7 +36,7 @@ public class SapforConfigurationDBTable extends iDBTable<SapforConfiguration> {
|
||||
}
|
||||
@Override
|
||||
protected void AdditionalInitColumns() {
|
||||
//columns.get(0).setVisible(false);
|
||||
columns.get(5).setRenderer(TableRenderers.RendererMultiline);
|
||||
}
|
||||
};
|
||||
}
|
||||
@@ -42,21 +45,28 @@ public class SapforConfigurationDBTable extends iDBTable<SapforConfiguration> {
|
||||
return new String[]{
|
||||
"имя",
|
||||
"автор",
|
||||
"авто",
|
||||
"группы",
|
||||
"тестов",
|
||||
"флаги"
|
||||
// "теневые грани, %"
|
||||
};
|
||||
}
|
||||
@Override
|
||||
public Object getFieldAt(SapforConfiguration object, int columnIndex) {
|
||||
ConfigurationCache cache = (ConfigurationCache) VisualCaches.GetCache(object);
|
||||
switch (columnIndex) {
|
||||
case 2:
|
||||
return object.description;
|
||||
case 3:
|
||||
return object.sender_name;
|
||||
case 4:
|
||||
return object.printAuto();
|
||||
case 5:
|
||||
return cache.getGroupsDescriptions();
|
||||
case 6:
|
||||
return cache.getTestsCount();
|
||||
case 7:
|
||||
return object.getFlags();
|
||||
// case 5:
|
||||
// return object.MAX_SHADOW_WIDTH;
|
||||
default:
|
||||
return null;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user