Bug 314634 Refactor data set editor pages' codes[26435]
Build Identifier: 20100525 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/OutputColumnDefnPage.java
{
	            try
	            {
					if ( rsColumns != null )
						rsColumns.removeItem( index );
					columnHints.removeItem( index );
				}
	            catch ( Exception e1 )
	            {
	                ExceptionHandler.handle( e1 );
	            }
	            viewer.refresh( );
	            viewer.getTable( ).select( index );
	            refreshCachedMap( );
	        }
	        updateButtons( );
	    }
		private void doMoveUp( )
		{
			
			int index = viewer.getTable( ).getSelectionIndex( );
			if ( index - 1 >= 0 && index < columnHandles.size( ) )
			{
				viewer.cancelEditing( );
				try
				{
					if ( rsColumns != null )
						rsColumns.moveItem( index, index - 1 );
					if ( columnHints != null )
						columnHints.moveItem( index, index - 1 );