Bug 315170 Refactor data set editor pages' codes[26441]
Build Identifier: 20100528 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/ResultSetColumnPage.java
up.setText( Messages.getString( "ResultSetColumnPage.button.up" ) );
		GridData upGd = new GridData( );
		upGd.widthHint = 52;
		up.setLayoutData( upGd );
		up.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				buttonPressed( SWT.UP );
			}
		} );
		down = new Button( composite, SWT.NONE );
		down.setText( Messages.getString( "ResultSetColumnPage.button.down" ) );
		GridData downGd = new GridData( );
		downGd.widthHint = 52;
		down.setLayoutData( downGd );
		down.addSelectionListener( new SelectionAdapter( ) {
			public void widgetSelected( SelectionEvent e )
			{
				buttonPressed( SWT.DOWN );
			}
		} );
	}
	protected void doNew( )
	{
		ColumnInputDialog inputDialog = new ColumnInputDialog( getShell( ),
				Messages.getString( "ResultSetColumnPage.inputDialog.newColumn.title" ), 
				new ResultSetColumnModel( ) );
		if ( inputDialog.open( ) == Window.OK )
		{
			ResultSetColumnModel columnModel = inputDialog.getResultSetColumnModel( );