net.sourceforge.squirrel_sql.plugins.dbdiff.gui
Class ExternalToolSideBySideDiffPresentation

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.dbdiff.gui.AbstractDiffPresentation
      extended by net.sourceforge.squirrel_sql.plugins.dbdiff.gui.AbstractSideBySideDiffPresentation
          extended by net.sourceforge.squirrel_sql.plugins.dbdiff.gui.ExternalToolSideBySideDiffPresentation
All Implemented Interfaces:
IDiffPresentation

public class ExternalToolSideBySideDiffPresentation
extends AbstractSideBySideDiffPresentation

A DiffPresentation implementation that creates a script from both schemas to be compared, then launches a diff window or configurable external diff tool to compare the schema definitions side-by-side.


Field Summary
 
Fields inherited from class net.sourceforge.squirrel_sql.plugins.dbdiff.gui.AbstractSideBySideDiffPresentation
fileWrapperFactory, ioutils
 
Fields inherited from class net.sourceforge.squirrel_sql.plugins.dbdiff.gui.AbstractDiffPresentation
destSession, preferenceBean, sessionInfoProvider, sourceSession
 
Constructor Summary
ExternalToolSideBySideDiffPresentation()
           
 
Method Summary
protected  void executeDiff(String script1Filename, String script2Filename)
          Sub-class implementations should override this method to provide the implementation for comparing the contents of the specified script filenames.
 
Methods inherited from class net.sourceforge.squirrel_sql.plugins.dbdiff.gui.AbstractSideBySideDiffPresentation
execute, setDialectFactory, setFileWrapperFactory, setIoutils
 
Methods inherited from class net.sourceforge.squirrel_sql.plugins.dbdiff.gui.AbstractDiffPresentation
setPreferenceBean, setSessionInfoProvider
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExternalToolSideBySideDiffPresentation

public ExternalToolSideBySideDiffPresentation()
Method Detail

executeDiff

protected void executeDiff(String script1Filename,
                           String script2Filename)
                    throws IOException
Description copied from class: AbstractSideBySideDiffPresentation
Sub-class implementations should override this method to provide the implementation for comparing the contents of the specified script filenames.

Specified by:
executeDiff in class AbstractSideBySideDiffPresentation
Parameters:
script1Filename - filename of the first script to compare.
script2Filename - filename of the second script to compare.
Throws:
IOException
See Also:
executeDiff(java.lang.String, java.lang.String)


Copyright © 2001-2012. All Rights Reserved.