org.eclipse.datatools.sqltools.sqlbuilder.dialogs
Class SourceTargetDialog
java.lang.Object
org.eclipse.jface.window.Window
org.eclipse.jface.dialogs.Dialog
org.eclipse.datatools.sqltools.sqlbuilder.dialogs.SourceTargetDialog
- All Implemented Interfaces:
- org.eclipse.jface.window.IShellProvider
public class SourceTargetDialog
- extends org.eclipse.jface.dialogs.Dialog
Dialog to help define the source/target column
for a join. This might be replaced once we know how to
initiate a drag tracker
Nested classes/interfaces inherited from class org.eclipse.jface.window.Window |
org.eclipse.jface.window.Window.IExceptionHandler |
Fields inherited from class org.eclipse.jface.dialogs.Dialog |
blockedHandler, buttonBar, DIALOG_DEFAULT_BOUNDS, DIALOG_PERSISTLOCATION, DIALOG_PERSISTSIZE, DLG_IMG_ERROR, DLG_IMG_HELP, DLG_IMG_INFO, DLG_IMG_MESSAGE_ERROR, DLG_IMG_MESSAGE_INFO, DLG_IMG_MESSAGE_WARNING, DLG_IMG_QUESTION, DLG_IMG_WARNING, ELLIPSIS |
Fields inherited from class org.eclipse.jface.window.Window |
CANCEL, OK |
Methods inherited from class org.eclipse.jface.dialogs.Dialog |
applyDialogFont, close, convertHeightInCharsToPixels, convertHorizontalDLUsToPixels, convertVerticalDLUsToPixels, convertWidthInCharsToPixels, create, getBlockedHandler, getImage, setBlockedHandler, shortenText |
Methods inherited from class org.eclipse.jface.window.Window |
getDefaultImage, getDefaultImages, getDefaultOrientation, getReturnCode, getShell, getWindowManager, open, setBlockOnOpen, setDefaultImage, setDefaultImages, setDefaultModalParent, setDefaultOrientation, setExceptionHandler, setWindowManager |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
SourceTargetDialog
public SourceTargetDialog(org.eclipse.swt.widgets.Shell shell,
TableExpression srcTable,
QuerySelect qSelect,
SQLDomainModel domainModel)
initializeTableCombos
public void initializeTableCombos()
- Populate Source & Target Table combo boxes
getTargetTable
public TableExpression getTargetTable()
getSourceTable
public TableExpression getSourceTable()
getSourceColumn
public ValueExpressionColumn getSourceColumn()
getTargetColumn
public ValueExpressionColumn getTargetColumn()
getJoinType
public int getJoinType()
createDialogArea
public org.eclipse.swt.widgets.Control createDialogArea(org.eclipse.swt.widgets.Composite parent)
- Overrides:
createDialogArea
in class org.eclipse.jface.dialogs.Dialog
setTypes
public void setTypes()