提交 96a2ac29 编写于 作者: S Serge Rider

Object manager model refactoring (extra actions)


Former-commit-id: ddd3cb6a
上级 70d85741
......@@ -73,7 +73,6 @@ public class OracleTableManager extends SQLTableManager<OracleTable, OracleSchem
appendTableModifiers(command.getObject(), command, query);
actionList.add(new SQLDatabasePersistAction(query.toString()));
}
addObjectExtraActions(actionList, command);
}
@Override
......
......@@ -78,7 +78,6 @@ public class PostgreTableManager extends SQLTableManager<PostgreTableBase, Postg
actionList.add(new SQLDatabasePersistAction(query.toString()));
}
addObjectExtraActions(actionList, command);
}
@Override
......
......@@ -240,6 +240,7 @@ public abstract class SQLObjectEditor<OBJECT_TYPE extends DBSObject, CONTAINER_T
{
List<DBEPersistAction> actions = new ArrayList<>();
addObjectModifyActions(actions, this);
addObjectExtraActions(actions, this);
return actions.toArray(new DBEPersistAction[actions.size()]);
}
......@@ -272,6 +273,7 @@ public abstract class SQLObjectEditor<OBJECT_TYPE extends DBSObject, CONTAINER_T
{
List<DBEPersistAction> actions = new ArrayList<>();
addObjectCreateActions(actions, this);
addObjectExtraActions(actions, this);
return actions.toArray(new DBEPersistAction[actions.size()]);
}
......
......@@ -117,6 +117,7 @@ public abstract class SQLStructEditor<OBJECT_TYPE extends DBSEntity & DBPSaveabl
{
List<DBEPersistAction> actions = new ArrayList<>();
addStructObjectCreateActions(actions, this);
addObjectExtraActions(actions, this);
return actions.toArray(new DBEPersistAction[actions.size()]);
}
}
......
......@@ -103,7 +103,6 @@ public abstract class SQLTableManager<OBJECT_TYPE extends JDBCTable, CONTAINER_T
appendTableModifiers(table, tableProps, createQuery);
actions.add( 0, new SQLDatabasePersistAction(ModelMessages.model_jdbc_create_new_table, createQuery.toString()) );
addObjectExtraActions(actions, command);
}
@Override
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册