net.sourceforge.squirrel_sql.plugins.sqlscript.table_script
Class DropTableScriptCommand

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.sqlscript.table_script.DropTableScriptCommand
All Implemented Interfaces:
ICommand

public class DropTableScriptCommand
extends Object
implements ICommand


Constructor Summary
DropTableScriptCommand(ISession session, SQLScriptPlugin plugin)
          Ctor specifying the current session.
 
Method Summary
 String dropTableScriptString(IDatabaseObjectInfo[] dbObjs)
           
 void execute()
          Execute this command.
 void scriptTablesToSQLEntryArea(IDatabaseObjectInfo[] dbObjs)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DropTableScriptCommand

public DropTableScriptCommand(ISession session,
                              SQLScriptPlugin plugin)
Ctor specifying the current session.

Method Detail

execute

public void execute()
Execute this command. Use the database meta data to construct a Create Table SQL script and place it in the SQL entry panel.

Specified by:
execute in interface ICommand

scriptTablesToSQLEntryArea

public void scriptTablesToSQLEntryArea(IDatabaseObjectInfo[] dbObjs)

dropTableScriptString

public String dropTableScriptString(IDatabaseObjectInfo[] dbObjs)


Copyright © 2001-2011. All Rights Reserved.