Bug 321540 Extends Integrated SQB to include database definition in the SQM
Extends the integrated SQL Query Builder to include a connection's database definition in its custom SQLQuerySourceFormat. Through this, database specific information is made readily available to a client at runtime for customized formatting of the SQL query source.
data/org.eclipse.birt.report.data.oda.jdbc.dbprofile.ui/src/org/eclipse/birt/report/data/oda/jdbc/dbprofile/ui/internal/sqb/CustomSQLBuilderDialog.java
sourceViewer.setParseRequired( true );
        sqlBuilder.reparseIfRequired();  
        
        sourceViewer.setTextChanged( currentTextModified ); 
    }
    
    /**
     * Marks the dialog to have a changed state.
     * @param dirty
     */
    public void setDirty( boolean dirty )
    {
        getSQLBuilder().setDirty( dirty );
    }
    /*
     * (non-Javadoc)
     * @see org.eclipse.datatools.sqltools.sqlbuilder.sqlbuilderdialog.SQLBuilderDialog#isDirty()
     */
    public boolean isDirty() 
    {
        return getSQLBuilder().isDirty();
    }
    /*
     * (non-Javadoc)
     * @see org.eclipse.datatools.sqltools.sqlbuilder.IContentChangeListener#notifyContentChange()
     */
    public void notifyContentChange() 
    {
        updateDirtyStatus();
    }