コード例 #1
0
 /**
  * Notification that this project has been deleted.
  *
  * @see org.netbeans.spi.project.ProjectState#notifyDeleted
  * @since 1.8
  */
 @Override
 public void notifyDeleted() {
   state.notifyDeleted();
 }
コード例 #2
0
 /**
  * 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);
 }
コード例 #3
0
 /** Call when explicitly modifying some piece of metadata. */
 private void modifying(String path) {
   assert ProjectManager.mutex().isWriteAccess();
   state.markModified();
   addModifiedMetadataPath(path);
   fireChange(path, true);
 }