void (final Facet facet, final String newName) { final FacetManager manager = getFacetManager(); final ModifiableFacetModel model = manager.createModifiableModel(); model.rename(facet, newName); commit(model); }