упраздение лишних енумов в оформлении таблиц и деревьев.
This commit is contained in:
@@ -5,7 +5,7 @@ import Common.Database.Tables.DBTable;
|
||||
import Common.Database.Tables.DBTableColumn;
|
||||
import Common.Passes.PassException;
|
||||
import Common.Utils.Utils_;
|
||||
import Common.Visual.UI_;
|
||||
import Common.Visual.UI;
|
||||
import javafx.util.Pair;
|
||||
|
||||
import java.io.File;
|
||||
@@ -210,7 +210,7 @@ public abstract class SQLiteDatabase extends Database {
|
||||
protected void insert(DBTable table, DBObject o) throws Exception {
|
||||
PreparedStatement ps = insertStatements.get(table.d);
|
||||
if (ps == null)
|
||||
UI_.Info("INSERT NULL");
|
||||
UI.Info("INSERT NULL");
|
||||
int i = 1;
|
||||
for (DBTableColumn column : table.columns.values()) {
|
||||
if (!column.AutoIncrement) {
|
||||
@@ -234,7 +234,7 @@ public abstract class SQLiteDatabase extends Database {
|
||||
protected void update(DBTable table, DBObject o) throws Exception {
|
||||
PreparedStatement ps = updateStatements.get(table.d);
|
||||
if (ps == null)
|
||||
UI_.Info("UPDATE NULL");
|
||||
UI.Info("UPDATE NULL");
|
||||
int i = 1;
|
||||
for (DBTableColumn column : table.columns.values()) {
|
||||
if (!column.AutoIncrement) {
|
||||
|
||||
@@ -8,7 +8,7 @@ import Common.Visual.DataSetFilter;
|
||||
import Common.Visual.FilterInterface;
|
||||
import Common.Visual.Menus.DataMenuBar;
|
||||
import Common.Visual.Tables.ColumnFilter;
|
||||
import Common.Visual.UI_;
|
||||
import Common.Visual.UI;
|
||||
import Common.Visual.Windows.Dialog.DBObjectDialog;
|
||||
import Common.Visual.Windows.Dialog.DialogFields;
|
||||
import _VisualDVM.Global;
|
||||
@@ -46,7 +46,7 @@ public class DataSet<K, D extends DBObject> extends DataSetAnchestor {
|
||||
return null;
|
||||
}
|
||||
public void mountUI(JPanel content_in) {
|
||||
UI_.Clear(content_in);
|
||||
UI.Clear(content_in);
|
||||
//-->
|
||||
ui_ = createUI();
|
||||
ui_.setContent(content_in);
|
||||
@@ -150,7 +150,7 @@ public class DataSet<K, D extends DBObject> extends DataSetAnchestor {
|
||||
return false;
|
||||
}
|
||||
public boolean ShowDeleteObjectDialog(DBObject object) {
|
||||
return UI_.Warning(getSingleDescription() + " " + object.getBDialogName() + " будет удален(а)");
|
||||
return UI.Warning(getSingleDescription() + " " + object.getBDialogName() + " будет удален(а)");
|
||||
}
|
||||
public String QName() {
|
||||
return "\"" + Name + "\"";
|
||||
|
||||
Reference in New Issue
Block a user