/**
  * Notification that this project has been deleted.
  *
  * @see org.netbeans.spi.project.ProjectState#notifyDeleted
  * @since 1.8
  */
 @Override
 public void notifyDeleted() {
   state.notifyDeleted();
 }
 /**
  * Mark this project as being modified without actually changing anything in it. Should only be
  * called from {@link ProjectGenerator#createProject}.
  */
 public void markModified() {
   assert ProjectManager.mutex().isWriteAccess();
   state.markModified();
   // To make sure projectXmlSaved is called:
   addModifiedMetadataPath(PROJECT_XML_PATH);
 }
 /** Call when explicitly modifying some piece of metadata. */
 private void modifying(String path) {
   assert ProjectManager.mutex().isWriteAccess();
   state.markModified();
   addModifiedMetadataPath(path);
   fireChange(path, true);
 }