Bug 183104 Allow a Custom ODA Data Source Wizard Page to override the Linked Profile Properties' Value
The ODA designer framework provides a connection profile selection wizard and page to allow an user to select a connection profile instance from a file-based profile repository. It in turn assigns the connection profile reference info as public properties in a DataSourceDesign definition. Such assignment takes place by default when the ODA profile selection wizard is used. It currently ignores any values that a custom ODA wizard page may have specified for these profile reference properties (ConnectionProfileProperty.PROFILE_NAME_PROP_KEY and PROFILE_STORE_FILE_PATH_PROP_KEY). The ODA framework should have allowed a custom ODA wizard page to override such property values returned by its collectCustomProperties method. By default, the related properties are not included in the property collection provided to a custom ODA wizard page for initialization. And it should not add those properties if it wants to assume the default behavior. A custom ODA wizard page should however be able to explicitly add these properties, which if exists would override the values contributed by the connection profile selection page.
data/org.eclipse.birt.report.data.oda.sampledb.ui/src/org/eclipse/birt/report/data/oda/sampledb/ui/profile/SampleDbSelectionPageHelper.java
PlatformUI.getWorkbench( ).getHelpSystem( ).setHelp( content,
				CONEXT_ID_DATASOURCE_SAMPLEDB );
	}
    
    /**
	 * collect custom properties
	 * 
	 * @param props
	 * @return
	 */
    Properties collectCustomProperties( Properties props )
    {
        if( props == null )
            props = new Properties();
        
        
		props.setProperty( Constants.ODADriverClass, getDriverClass( ) );
		props.setProperty( Constants.ODAURL, getDriverUrl( ) );
		props.setProperty( Constants.ODAUser, SAMPLE_DB_SCHEMA );
		props.setProperty( Constants.ODAPassword, "" );
		return props;
    }
    
    /**
     * get driver class
     * @return
     */
    private String getDriverClass( )
	{