Bug 320462 Refactor script data set related pages' codes[29044]
Build Identifier: 20100719 Refactor script functions related codes. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/OutputColumnDefnPage.java
}
	}
	
	protected class OutputColumnTableViewer
	{
	    private TableViewer viewer;
	    private Composite mainControl;
	    private Button btnRemove;
	    private Button btnUp;
	    private Button btnDown;
	    private Button btnAdd;
	    private Button btnEdit;
	    private MenuItem itmRemove;
	    private MenuItem itmRemoveAll;
	    private Menu menu;
		public OutputColumnTableViewer( Composite parent )
		{
			mainControl = new Composite( parent, SWT.NONE );
			GridLayout layout = new GridLayout( );
			layout.numColumns = 2;
			mainControl.setLayout( layout );
			GridData data = null;
			viewer = new TableViewer( mainControl, SWT.FULL_SELECTION
					| SWT.BORDER );
			data = new GridData( GridData.FILL_BOTH );
			viewer.getControl( ).setLayoutData( data );
			viewer.getTable( ).setHeaderVisible( true );
			viewer.getTable( ).setLinesVisible( true );
			viewer.getTable( ).addSelectionListener( new SelectionAdapter( ) {
				public void widgetSelected( SelectionEvent e )