изменение умолчаний для контролов таблиц
This commit is contained in:
@@ -135,7 +135,7 @@ public abstract class ComparisonForm<T> {
|
||||
}
|
||||
public abstract Object getDefaultCurrentObject();
|
||||
public void ApplyObject() {
|
||||
if (getDefaultCurrentObject()!=null)
|
||||
if (getDefaultCurrentObject() != null)
|
||||
ApplyObject(getDefaultCurrentObject());
|
||||
else UI.Info("Текущий объект для сравнения не назначен!");
|
||||
}
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.Database.Objects.DBObject;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.Controls.MenuBarButton;
|
||||
import _VisualDVM.Constants;
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
package _VisualDVM.Visual.Windows;
|
||||
import Common.CommonConstants;
|
||||
import Common.MainModule_;
|
||||
import Common.Visual.FormWithSplitters;
|
||||
import Common.Visual.TextField.StyledTextField;
|
||||
@@ -8,7 +7,6 @@ import _VisualDVM.Current;
|
||||
import _VisualDVM.Global;
|
||||
import _VisualDVM.GlobalData.Compiler.Compiler;
|
||||
import _VisualDVM.GlobalData.Compiler.CompilerType;
|
||||
import _VisualDVM.GlobalData.Credentials.Credentials;
|
||||
import _VisualDVM.TestingSystem.Common.TestingServer;
|
||||
import _VisualDVM.TestingSystem.DVM.DVMPackage.DVMPackage;
|
||||
import _VisualDVM.TestingSystem.DVM.DVMTasks.DVMRunTask;
|
||||
@@ -224,13 +222,13 @@ public class TestingForm implements FormWithSplitters, TestingWindow {
|
||||
@Override
|
||||
public void ShowCurrentCompiler() {
|
||||
Compiler compiler = (MainModule_.instance.getDb().getTable(Compiler.class).getUI().getCurrent());
|
||||
String title = (compiler!=null)&& (compiler.type.equals(CompilerType.dvm)) ?
|
||||
String title = (compiler != null) && (compiler.type.equals(CompilerType.dvm)) ?
|
||||
"DVM система: " + compiler.description : "DVM система: ?";
|
||||
testingTabs.setTitleAt(0, title);
|
||||
}
|
||||
@Override
|
||||
public void ShowCurrentServerSapfor() {
|
||||
testingTabs.setTitleAt(2, "SAPFOR: " + Global.testingServer.db.serverSapfors.getUI().getCurrent().version);
|
||||
testingTabs.setTitleAt(2, "SAPFOR: " + Global.testingServer.db.serverSapfors.getUI().getCurrent().version);
|
||||
}
|
||||
@Override
|
||||
public void ShowNoServerSapfor() {
|
||||
|
||||
Reference in New Issue
Block a user