изменение умолчаний для контролов таблиц
This commit is contained in:
@@ -4,7 +4,6 @@ import Common.Database.Objects.DBObject;
|
||||
import Common.Database.Tables.DBTable;
|
||||
import Common.Database.Tables.DBTableColumn;
|
||||
import Common.Passes.PassException;
|
||||
import Common.Utils.TextLog;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI;
|
||||
import javafx.util.Pair;
|
||||
@@ -256,5 +255,4 @@ public abstract class SQLiteDatabase extends Database {
|
||||
}
|
||||
//--
|
||||
//https://stackoverflow.com/questions/8558099/sqlite-query-with-byte-where-clause
|
||||
|
||||
}
|
||||
@@ -5,7 +5,6 @@ import Common.Database.Objects.PassStats.PassStatsDBTable;
|
||||
import Common.Database.Objects.Splitter.SplittersDBTable;
|
||||
import Common.Database.SQLITE.SQLiteDatabase;
|
||||
import Common.Passes.PassCode_;
|
||||
import Common.Utils.TextLog;
|
||||
|
||||
import java.io.File;
|
||||
public class VisualiserDatabase extends SQLiteDatabase {
|
||||
@@ -27,5 +26,4 @@ public class VisualiserDatabase extends SQLiteDatabase {
|
||||
public PassCode_ getSynchronizePassCode() {
|
||||
return null;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -1,6 +1,5 @@
|
||||
package Common;
|
||||
import Common.Database.Objects.PassStats.PassStats;
|
||||
import Common.Database.Objects.iDBObject;
|
||||
import Common.Database.VisualiserDatabase;
|
||||
import Common.Passes.Pass;
|
||||
import Common.Passes.PassCode_;
|
||||
|
||||
@@ -24,8 +24,8 @@ public abstract class EditObjectPass<D extends DBObject> extends ObjectPass<D> {
|
||||
protected void showFinish() throws Exception {
|
||||
getTable().ShowUI(target.getPK());
|
||||
for (Class dep : getTable().getFKDependencies().keySet()) {
|
||||
if (getDb().getTable(dep).getUI()!=null)
|
||||
getDb().getTable(dep).getUI().RedrawControl();
|
||||
if (getDb().getTable(dep).getUI() != null)
|
||||
getDb().getTable(dep).getUI().RedrawControl();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -385,7 +385,7 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
|
||||
}
|
||||
//-
|
||||
protected boolean hasCheckBox() {
|
||||
return false;
|
||||
return true;
|
||||
}
|
||||
protected boolean hasMenuBar() {
|
||||
return true;
|
||||
@@ -469,7 +469,7 @@ public class DataSetControlForm<D extends DBObject> extends ControlForm<DataTabl
|
||||
return true;
|
||||
}
|
||||
protected boolean needsCurrent() {
|
||||
return false;
|
||||
return true;
|
||||
} //нужно ли отслеживать текущий объект.
|
||||
protected String getCurrentName() {
|
||||
return dataSource.d.getSimpleName();
|
||||
|
||||
Reference in New Issue
Block a user