Bug 214184 [Acceptance]Can not select the theme on right click menu in library[01]
Description: [Acceptance]Can not select the theme on right click menu in library[01] Step: Right click in library, and Select theme - Apply theme Actual result: The next level menu that list the theme will not spread.
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/actions/ApplyThemeMenuAction.java
if ( iterator != null )
		{
			while ( iterator.hasNext( ) )
			{
				ThemeHandle handle = (ThemeHandle) iterator.next( );
				ApplyThemeAction action = new ApplyThemeAction( handle );
				action.setSelection( getSelection( ) );
				action.setChecked( currentTheme == handle );
				actionList.add( action );
			}
		}
		return actionList;
	}
	private ThemeHandle getThemeHandle( )
	{
		IStructuredSelection selection = null;
		if ( getSelection( ) instanceof IStructuredSelection )
		{
			selection = (IStructuredSelection) getSelection( );
		}
		if ( selection != null && !selection.isEmpty( )
				&& selection.getFirstElement( ) instanceof ReportDesignEditPart )
		{
			return ( (ReportDesignHandle) ( (ReportDesignEditPart) selection
					.getFirstElement( ) ).getModel( ) ).getTheme( );
		}
		return null;
	}
}