Bug 318835 Refactor data set editor pages' codes[27965]
Build Identifier: 20100702 Refactor data set editor pages' codes. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ResultSetPreviewPage.java
resultSetTable.addMouseListener( new MouseAdapter( ) {
			public void mouseUp( MouseEvent e )
			{
				
				if ( e.button != 1 )
				{
					MenuManager menuManager = new MenuManager( );
					ResultSetTableAction copyAction = ResultSetTableActionFactory.createResultSetTableAction( resultSetTable,
							ResultSetTableActionFactory.COPY_ACTION );
					ResultSetTableAction selectAllAction = ResultSetTableActionFactory.createResultSetTableAction( resultSetTable,
							ResultSetTableActionFactory.SELECTALL_ACTION );
					menuManager.add( copyAction );
					menuManager.add( selectAllAction );
					menuManager.update( );
					copyAction.update( );
					selectAllAction.update( );
					Menu contextMenu = menuManager.createContextMenu( resultSetTable );
					contextMenu.setEnabled( true );
					contextMenu.setVisible( true );
				}
			}
		} );
		createResultSetTableViewer( );
		promptLabel = new CLabel( resultSetComposite, SWT.WRAP );
		GridData labelData = new GridData( GridData.FILL_HORIZONTAL );
		promptLabel.setLayoutData( labelData );
		
		return resultSetComposite;
	}
	private void createResultSetTableViewer( )