Bug 202397 After preview in layout. The dataset and datasource can not be copied in data explorer[07]
Description: After preview in layout. The dataset and datasource can not be copied in data explorer, only can copied but can not pasted. I think the focus must be lost. Build number: 2.2.1.v20070906-0630 Steps to reproduce: 1, New a datasource and dataset 2, Drag some thing into layout and preview in layout 3, Go back to layout and select the dataset or datasource in data explorer 4, Right click and copy the dataset or datasource 5, Right click try to paste the dataset or datasource Expected result: The dataset and datasource can be copy and paste Actual result: After select copy, the paste is gray. Error log:
UI/org.eclipse.birt.report.designer.ui.editors/src/org/eclipse/birt/report/designer/internal/ui/views/outline/DesignerOutlinePage.java
}
			}
		} );
		tree.addMouseTrackListener( new MouseTrackAdapter( ) {
			public void mouseHover( MouseEvent event )
			{
				Widget widget = event.widget;
				if ( widget == tree )
				{
					Point pt = new Point( event.x, event.y );
					TreeItem item = tree.getItem( pt );
					if ( item == null || item.getData( ) == null )
					{
						tree.setToolTipText( null );
					}
					else
					{
						tree.setToolTipText( getTooltip( item.getData( ) ) );
					}
				}
			}
		} );
		
		SessionHandleAdapter.getInstance( )
				.getMediator( )
				.addColleague( getSelectionSynchronizer( ) );
		if ( backup != null )
		{
			backup.restoreBackup( getTreeViewer( ) );
			getTreeViewer( ).getTree( ).addTreeListener( new TreeListener( ) {