net.sourceforge.squirrel_sql.plugins.dbdiff.commands
Class CompareCommand

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.dbdiff.commands.AbstractDiffCommand
      extended by net.sourceforge.squirrel_sql.plugins.dbdiff.commands.CompareCommand
All Implemented Interfaces:
ICommand

public class CompareCommand
extends AbstractDiffCommand
implements ICommand

This class represents the command that gets executed when the user clicks compare in a schema after selecting one or more tables.


Field Summary
 
Fields inherited from class net.sourceforge.squirrel_sql.plugins.dbdiff.commands.AbstractDiffCommand
pluginPreferencesManager
 
Constructor Summary
CompareCommand(SessionInfoProvider provider)
          Constructor specifying the current session.
 
Method Summary
 void execute()
          Kicks off the diff operation.
 void setDiffPresentationFactory(IDiffPresentationFactory diffPresentationFactory)
           
 
Methods inherited from class net.sourceforge.squirrel_sql.plugins.dbdiff.commands.AbstractDiffCommand
setPluginPreferencesManager
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompareCommand

public CompareCommand(SessionInfoProvider provider)
Constructor specifying the current session.

Method Detail

execute

public void execute()
Kicks off the diff operation. All pieces of information are provided by the SessionInfoProvider and have been verified in the action prior to this point. Nothing left to do except start the copy operation.

Specified by:
execute in interface ICommand

setDiffPresentationFactory

public void setDiffPresentationFactory(IDiffPresentationFactory diffPresentationFactory)
Parameters:
diffPresentationFactory - the diffPresentationFactory to set


Copyright © 2001-2012. All Rights Reserved.