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
* 
 */
public class ErrorDialog implements SelectionListener
{
	
	public static final String OPTION_ACCEPT = "ACCEPT"; 
	public static final String OPTION_CANCEL = "CANCEL"; 
	public static final int MAX_TRACE_DEPTH = 2;
	public static final int DEFAULT_WIDTH = 450;
	public static final int DEFAULT_HEIGHT = 210;
	public static final int MAX_HEIGHT = 400;
	
	private transient Display display = Display.getDefault( );
	private transient Shell shell = new Shell( display, SWT.DIALOG_TRIM );
	private transient Label lblImage = null;
	private transient Composite cmpContainer = null;
	private transient Composite cmpDetails = null;
	private transient StackLayout slDetails = null;
	private transient Group grpDetails = null;
	private transient Text txtDetails = null;
	private transient Composite cmpDummy = null;
	private transient MessageComposite mcSheetHeading = null;
	private transient Button btnOK = null;
	private transient Button btnDetails = null;
	private transient Text txtProblems = null;
	private transient Button btnCancel = null;
	private transient Group grpProblems = null;
	
	private transient String sMessage = null;
	private transient String sSelection = OPTION_CANCEL;