descriptor.setDescription(description);
descriptor.setComment(comment);
descriptor.setFlags(flags);
descriptor.setResourcePath(_resource.getLocation());
descriptor.setNewName(getNewResourceName() + ".wo");
return new DynamicValidationStateChange(new RenameWOComponentChange(descriptor, _resource, getNewResourceName() + ".wo", comment));
} finally {
pm.done();
}
}