else if ( selectedElement instanceof ObjectClassWrapper )
{
MutableObjectClass objectClass = ( ( ObjectClassWrapper ) selectedElement ).getObjectClass();
RenameObjectClassDialog dialog = new RenameObjectClassDialog( objectClass.getNames() );
if ( dialog.open() == RenameObjectClassDialog.OK )
{
ObjectClass modifiedObjectClass = PluginUtils.getClone( objectClass );
modifiedObjectClass.setNames( dialog.getAliases() );
Activator.getDefault().getSchemaHandler()
.modifyObjectClass( objectClass, modifiedObjectClass );