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

java.lang.Object
  extended by net.sourceforge.squirrel_sql.plugins.dbdiff.gui.AbstractDiffPresentation
All Implemented Interfaces:
IDiffPresentation
Direct Known Subclasses:
AbstractSideBySideDiffPresentation, TabularDiffPresentation

public abstract class AbstractDiffPresentation
extends Object
implements IDiffPresentation

Base class for all DiffPresentation implementations that supports the common requirement to have access to the SessionInfoProvider.


Field Summary
protected  ISession destSession
          the destination session.
protected  DBDiffPreferenceBean preferenceBean
          preferenceBean
protected  SessionInfoProvider sessionInfoProvider
          the class that provides out session information
protected  ISession sourceSession
          the source session.
 
Constructor Summary
AbstractDiffPresentation()
           
 
Method Summary
 void setPreferenceBean(DBDiffPreferenceBean preferenceBean)
           
 void setSessionInfoProvider(SessionInfoProvider provider)
          Set the SessionInfoProvider which contains the two sessions to be compared, along with their selected objects.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface net.sourceforge.squirrel_sql.plugins.dbdiff.gui.IDiffPresentation
execute
 

Field Detail

sessionInfoProvider

protected SessionInfoProvider sessionInfoProvider
the class that provides out session information


sourceSession

protected ISession sourceSession
the source session. This comes from prov


destSession

protected ISession destSession
the destination session. This comes from prov


preferenceBean

protected DBDiffPreferenceBean preferenceBean
preferenceBean

Constructor Detail

AbstractDiffPresentation

public AbstractDiffPresentation()
Method Detail

setSessionInfoProvider

public void setSessionInfoProvider(SessionInfoProvider provider)
Description copied from interface: IDiffPresentation
Set the SessionInfoProvider which contains the two sessions to be compared, along with their selected objects.

Specified by:
setSessionInfoProvider in interface IDiffPresentation
Parameters:
provider - the SessionInfoProvider

setPreferenceBean

public void setPreferenceBean(DBDiffPreferenceBean preferenceBean)
Specified by:
setPreferenceBean in interface IDiffPresentation
Parameters:
preferenceBean - the preferenceBean to set


Copyright © 2001-2012. All Rights Reserved.