Bug 316695 Refactor data set editor pages' codes[26568]
Build Identifier: 20100610 Refactor data set editor pages' codes[26568]. Reproducible: Always
UI/org.eclipse.birt.report.designer.ui.data/src/org/eclipse/birt/report/designer/data/ui/dataset/DataSetParametersPage.java
for ( int i = 1; i <= handle.getListValue( ).size( ); i++ )
			{
				for ( int position = i - 1; position < handle.getListValue( )
						.size( ); position++ )
				{
					DataSetParameterHandle param = ( (DataSetParameterHandle) handle.getAt( position ) );
					if ( param.getPosition( ).intValue( ) == i )
					{
						try
						{
							handle.moveItem( position, i - 1 );
							break;
						}
						catch ( PropertyValueException e )
						{
						}
					}
				}
			}
		}
	}
	private void setToolTips( )
	{
		viewer.getNewButton( )
				.setToolTipText( Messages.getString( "DataSetParameterPage.toolTipText.New" ) );
		viewer.getEditButton( )
				.setToolTipText( Messages.getString( "DataSetParameterPage.toolTipText.Edit" ) );
		viewer.getRemoveButton( )
				.setToolTipText( Messages.getString( "DataSetParameterPage.toolTipText.Remove" ) );
		viewer.getUpButton( )