Bug 192362 Propertiy Editor will not refresh when use Page->MasterPage->Simple MasterPage to go to Master Page tab [05]
Description: Propertiy Editor will not refresh when use Page->MasterPage->Simple MasterPage to go to Master Page tab. Build number: 2.2.0.v20070613-1211 Steps to reproduce: 1. Open a report. 2. Use top menu Page->Master Page->Simple Master Page. Expected result: Change to MasterPage tab and Property Editor refreshed. Actual result: Change to MasterPage tab and Property Editor did not refresh. Error log: N/A
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/internal/ui/util/UIUtil.java
{
			slotHandle.add( groupHandle, position );
			
			{
				GroupDialog dialog = new GroupDialog( getDefaultShell( ),
						GroupDialog.GROUP_DLG_TITLE_NEW );
				
				dialog.setInput( groupHandle );
				if ( dialog.open( ) == Window.CANCEL )
				{
					return false;
				}
			}
			return true;
		}
		return false;
	}
	/**
	 * Gets the first selected edit part in layout editor. Whenever the user has
	 * deselected all edit parts, the contents edit part should be returned.
	 * 
	 * @return the first selected EditPart or root edit part
	 */
	public static EditPart getCurrentEditPart( )
	{
		EditPartViewer viewer = getLayoutEditPartViewer( );
		if ( viewer == null )
			return null;
		IStructuredSelection targets = (IStructuredSelection) viewer.getSelection( );
		if ( targets.isEmpty( ) )