org.eclipse.datatools.sqltools.sqlbuilder.expressionbuilder
Class MainExpressionPage

java.lang.Object
  extended by org.eclipse.jface.dialogs.DialogPage
      extended by org.eclipse.jface.wizard.WizardPage
          extended by org.eclipse.datatools.sqltools.sqlbuilder.expressionbuilder.MainExpressionPage
All Implemented Interfaces:
java.util.EventListener, org.eclipse.jface.dialogs.IDialogPage, org.eclipse.jface.dialogs.IMessageProvider, org.eclipse.jface.wizard.IWizardPage, org.eclipse.swt.events.SelectionListener, org.eclipse.swt.internal.SWTEventListener

public class MainExpressionPage
extends org.eclipse.jface.wizard.WizardPage
implements org.eclipse.swt.events.SelectionListener


Field Summary
static java.lang.String CASE_EXPRESSION
           
static java.lang.String CAST_EXPRESSION
           
static java.lang.String CONSTANT_EXPRESSION
           
static java.lang.String copyright
           
static java.lang.String EXPRESSIONS_BY_OPERATORS
           
static java.lang.String FUNCTION_EXPRESSION
           
static java.lang.String SUBQUERY_EXPRESSION
           
 
Fields inherited from interface org.eclipse.jface.dialogs.IMessageProvider
ERROR, INFORMATION, NONE, WARNING
 
Constructor Summary
MainExpressionPage(SQLDomainModel domainModel, QueryValueExpression sqlExpr)
           
 
Method Summary
 boolean canFlipToNextPage()
           
 void createControl(org.eclipse.swt.widgets.Composite parent)
           
 java.lang.String getExpressionType()
           
 QueryValueExpression getSQLExpression()
           
 void setVisible(boolean visible)
           
 void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent se)
           
 void widgetSelected(org.eclipse.swt.events.SelectionEvent se)
           
 
Methods inherited from class org.eclipse.jface.wizard.WizardPage
getImage, getName, getNextPage, getPreviousPage, getShell, getWizard, isPageComplete, setDescription, setErrorMessage, setImageDescriptor, setMessage, setPageComplete, setPreviousPage, setTitle, setWizard, toString
 
Methods inherited from class org.eclipse.jface.dialogs.DialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getMessageType, getTitle, performHelp, setMessage
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.jface.dialogs.IDialogPage
dispose, getControl, getDescription, getErrorMessage, getMessage, getTitle, performHelp
 

Field Detail

copyright

public static final java.lang.String copyright
See Also:
Constant Field Values

CASE_EXPRESSION

public static final java.lang.String CASE_EXPRESSION
See Also:
Constant Field Values

CONSTANT_EXPRESSION

public static final java.lang.String CONSTANT_EXPRESSION
See Also:
Constant Field Values

FUNCTION_EXPRESSION

public static final java.lang.String FUNCTION_EXPRESSION
See Also:
Constant Field Values

CAST_EXPRESSION

public static final java.lang.String CAST_EXPRESSION
See Also:
Constant Field Values

SUBQUERY_EXPRESSION

public static final java.lang.String SUBQUERY_EXPRESSION
See Also:
Constant Field Values

EXPRESSIONS_BY_OPERATORS

public static final java.lang.String EXPRESSIONS_BY_OPERATORS
See Also:
Constant Field Values
Constructor Detail

MainExpressionPage

public MainExpressionPage(SQLDomainModel domainModel,
                          QueryValueExpression sqlExpr)
Method Detail

createControl

public void createControl(org.eclipse.swt.widgets.Composite parent)
Specified by:
createControl in interface org.eclipse.jface.dialogs.IDialogPage

getSQLExpression

public QueryValueExpression getSQLExpression()

widgetDefaultSelected

public void widgetDefaultSelected(org.eclipse.swt.events.SelectionEvent se)
Specified by:
widgetDefaultSelected in interface org.eclipse.swt.events.SelectionListener

widgetSelected

public void widgetSelected(org.eclipse.swt.events.SelectionEvent se)
Specified by:
widgetSelected in interface org.eclipse.swt.events.SelectionListener

canFlipToNextPage

public boolean canFlipToNextPage()
Specified by:
canFlipToNextPage in interface org.eclipse.jface.wizard.IWizardPage
Overrides:
canFlipToNextPage in class org.eclipse.jface.wizard.WizardPage

getExpressionType

public java.lang.String getExpressionType()

setVisible

public void setVisible(boolean visible)
Specified by:
setVisible in interface org.eclipse.jface.dialogs.IDialogPage
Overrides:
setVisible in class org.eclipse.jface.dialogs.DialogPage