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
}
	/**
	 * Returns the name for the file
	 * 
	 * @param filePath
	 *            the full path of the file
	 * @return Returns the name of the file
	 */
	public static String getSimpleFileName( String filePath )
	{
		return new File( filePath ).getName( );
	}
	/**
	 * Returns the namespace of the library for inculde
	 * 
	 * @param handle
	 *            the module handle to include the library
	 * @param libraryPath
	 *            the full path of the library file to include
	 * @return the namespace used to include, or null if the user cancels this
	 *         operator
	 */
	private static String getLibraryNamespace( ModuleHandle handle,
			String libraryPath )
	{
		String namespace = getSimpleFileName( libraryPath ).split( "\\." )[0]; 
		if ( handle.getLibrary( namespace ) != null )
		{
			ImportLibraryDialog dialog = new ImportLibraryDialog( namespace );
			if ( dialog.open( ) == Dialog.OK )