Bug 319963 Refactor data set editor pages' codes[28800]
Build Identifier: 20100712 Refactor data set editor pages' codes[28800]. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/ResultSetColumnPage.java
columnList.add( columnModel );
			columnTable.refresh( );
		}
		updateButtons( );
	}
	protected void doEdit( )
	{
		ColumnInputDialog inputDialog = new ColumnInputDialog( getShell( ),
				Messages.getString( "ResultSetColumnPage.inputDialog.editColumn.title" ), 
				getSelectedColumn( ) );
		if ( inputDialog.open( ) == Window.OK )
		{
			inputDialog.getResultSetColumnModel( );
			columnTable.refresh( );
		}
		updateButtons( );
	}
	protected void buttonPressed( int buttonId )
	{
		ResultSetColumnModel model = getSelectedColumn( );
		int index = columnList.indexOf( model );
		columnList.remove( index );
		switch ( buttonId )
		{
			case SWT.UP :
				columnList.add( index - 1, model );
				break;
			case SWT.DOWN :
				columnList.add( index + 1, model );
				break;