Bug 145481 [RCP]Top Menu-Insert-Image, Edit Image Item dialog can not be opened.
[RCP]Top Menu-Insert-Image, Edit Image Item dialog can not be opened. Steps: 1.Select Top Menu-Insert-Image Actual Results: 1.Edit Image Item dialog can not be opened Expected Results: 1.Edit Image Item dialog can be opened
UI/org.eclipse.birt.report.designer.ui/src/org/eclipse/birt/report/designer/ui/actions/BaseInsertMenuAction.java
.getPartService( )
							.getActivePart( );
					if ( part instanceof AbstractMultiPageEditor )
					{
						IEditorPart epart = ( (AbstractMultiPageEditor) part ).getActivePageInstance( );
						if ( epart instanceof GraphicalEditorWithFlyoutPalette )
						{
							GraphicalViewer viewer = ( (GraphicalEditorWithFlyoutPalette) epart ).getGraphicalViewer( );
							Object cpart = viewer.getEditPartRegistry( )
									.get( element );
							if ( cpart instanceof EditPart )
							{
								viewer.flush( );
								viewer.select( (EditPart) cpart );
							}
							if ( edit && cpart instanceof LabelEditPart )
							{
								( (LabelEditPart) cpart ).performDirectEdit( );
							}
						}
					}
					else if ( part instanceof IReportEditor )
					{
						IEditorPart activeEditor = ( (IReportEditor) part ).getEditorPart( );
						if ( activeEditor instanceof AbstractMultiPageEditor )
						{
							IEditorPart epart = ( (AbstractMultiPageEditor) activeEditor ).getActivePageInstance( );
							if ( epart instanceof GraphicalEditorWithFlyoutPalette )
							{
								GraphicalViewer viewer = ( (GraphicalEditorWithFlyoutPalette) epart ).getGraphicalViewer( );