public void undoIt() {
   getDelegate().deleteFacet(createdFacet);
   createdFacet.markDeleted(true);
 }
 public void redoIt() {
   getDelegate().createFacet(id, types, loadDefaults);
   createdFacet.markDeleted(false);
 }
 public Object doIt() {
   createdFacet = getDelegate().createFacet(id, types, loadDefaults);
   id = createdFacet.getFrameID();
   setDescription("Create facet " + getText(createdFacet));
   return createdFacet;
 }