Bug 122040 Incorrect labels on New Template dialog
Choose File->New Choose Template in the list of BIRT file types. New Template appears. Select a folder and type a file name. Choose Next. The next page has the following problems: 1. The subtitle is: Set Report Property The subtitle should be: Set Template Properties 2. The first label is: Dispaly name The label should be: Display name
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
*/
	public static IEditorPart getActiveEditor( boolean activePageOnly )
	{
		IWorkbenchWindow window = PlatformUI.getWorkbench( )
				.getActiveWorkbenchWindow( );
		if ( window != null )
		{
			if ( activePageOnly )
			{
				IWorkbenchPage pg = window.getActivePage( );
				if ( pg != null )
				{
					return pg.getActiveEditor( );
				}
			}
			else
			{
				IWorkbenchPage[] pgs = window.getPages( );
				for ( int i = 0; i < pgs.length; i++ )
				{
					IWorkbenchPage pg = pgs[i];
					if ( pg != null )
					{
						IEditorPart editor = pg.getActiveEditor( );
						if ( editor != null )
						{
							return editor;
						}
					}
				}