01: package net.sourceforge.squirrel_sql.plugins.sqlscript;
02:
03: import net.sourceforge.squirrel_sql.client.session.ISession;
04: import net.sourceforge.squirrel_sql.plugins.sqlscript.table_script.CreateTableScriptCommand;
05: import net.sourceforge.squirrel_sql.fw.sql.ITableInfo;
06:
07: public class SQLScriptExternalService extends Object {
08: private SQLScriptPlugin _sqlScriptPlugin;
09:
10: public SQLScriptExternalService(SQLScriptPlugin sqlScriptPlugin) {
11: _sqlScriptPlugin = sqlScriptPlugin;
12: }
13:
14: public void scriptTablesToSQLEntryArea(ISession sess,
15: ITableInfo[] tis) {
16: new CreateTableScriptCommand(sess, _sqlScriptPlugin)
17: .scriptTablesToSQLEntryArea(tis);
18: }
19:
20: }
|