Bug 319902 Internal API Usage of the ODA framework components
data/org.eclipse.birt.report.data.oda.jdbc.dbprofile.ui/src/org/eclipse/birt/report/data/oda/jdbc/dbprofile/ui/internal/sqb/SQBDataSetWizardPage.java
{
        if ( getControl( ) == null
				|| getControl( ).isDisposed( ) || m_sqbDialog == null )
		{
			setResponseDesignerState( getInitializationDesignerState( ) );
			return;
		} 
        super.collectResponseState();
        
        SQLBuilderDesignState sqbState = m_sqbDialog.saveSQBState( getDataSetDesignName() );
        if( sqbState == null )
            return;     
        
        String sqbStateContent = sqbState.toString();
        if( sqbStateContent.length() == 0 )
            return;     
        DesignerState designerState = DesignFactory.eINSTANCE.createDesignerState();
        designerState.setNewStateContentAsString( sqbStateContent );
        designerState.setVersion( sqbState.getVersion() );
        
        setResponseDesignerState( designerState );
    }
    /*
     * (non-Javadoc)
     * @see org.eclipse.datatools.connectivity.oda.design.ui.wizards.DataSetWizardPage#collectDataSetDesign(org.eclipse.datatools.connectivity.oda.design.DataSetDesign)
     */
	protected DataSetDesign collectDataSetDesign( DataSetDesign design )
	{	
        if ( getControl() == null || getControl().isDisposed() )    
	        return design;