private void renameValues( final IValue[] values )
{
AttributeWizard wizard = new AttributeWizard( Messages
.getString( "EditAttributeDescriptionAction.EditAttributeDescription" ), true, false, //$NON-NLS-1$
values[0].getAttribute().getDescription(), values[0].getAttribute().getEntry() );
WizardDialog dialog = new WizardDialog( Display.getDefault().getActiveShell(), wizard );
dialog.setBlockOnOpen( true );
dialog.create();
if ( dialog.open() == Dialog.OK )
{
String newAttributeDescription = wizard.getAttributeDescription();
new CompoundModification().renameValues( values, newAttributeDescription );
}
}