Bug 110620 Can Chart dialogs be made available ?
Standalone Development We are trying to develop a standalone application which will output a BIRT '.rptdesign' file. As creating charts in particular requires the user to choose or set a large number of parameters, would it be possible to add the chart creation dialog to the API so that other plugins or applications may use it and thus avoid re-inventing the wheel ? In truth all of the various dialogs, data source, data set etc would be useful additions to the API or pluggin set for anyone embedding BIRT into their own project. Regards, Brian Compston
core/org.eclipse.birt.core.ui/src/org/eclipse/birt/core/ui/frameworks/errordisplay/ErrorDialog.java
private transient boolean bError = true;
	
	private transient String sErrors = null;
	private transient String sFixes = null;
	
	private transient String sExceptionMessage = null;
	private transient String sTrace = null;
	/**
	 * @param args
	 */
	public static void main( String[] args )
	{
		ErrorDialog err = new ErrorDialog( "Test Error Dialog", 
				"An error has occurred!", 
				new String[]{
					"No data has been associated with this object." 
				},
				new String[]{
					"Each object needs to have data associated with it. This data can be associated in the 'X' tab of the dialg. This data can be associated in the 'X' tab of the dialg. This data can be associated in the 'X' tab of the dialg. This data can be associated in the 'X' tab of the dialg." 
				} );
		
		
		
		System.out.println( "Dialog Selection - " + err.getOption( ) ); 
	}
	private void init( String sTitle )
	{
		display = Display.getDefault( );
		if ( PlatformUI.isWorkbenchRunning( ) )
		{