站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > NetBeans API Javadoc 4.1.0

ProjectState (NetBeans Project API) - NetBeans API Javadoc 4.1.0

 

org.netbeans.spi.project
Interface ProjectState


public interface ProjectState

Callback permitting Projects to inform the ProjectManager of important lifecycle events. Currently the only available event is modification of the project metadata. However in the future other events may be added, such as moving or deleting the project, which the project manager would need to be informed of.

This interface may only be implemented by the project manager. A ProjectFactory will receive an instance in ProjectFactory.loadProject(org.openide.filesystems.FileObject, org.netbeans.spi.project.ProjectState).


Method Summary
 void markModified()
          Inform the manager that the project's in-memory state has been modified and that a call to ProjectFactory.saveProject(org.netbeans.api.project.Project) may be needed.
 

Method Detail

markModified

public void markModified()
Inform the manager that the project's in-memory state has been modified and that a call to ProjectFactory.saveProject(org.netbeans.api.project.Project) may be needed. May not be called during ProjectFactory.loadProject(org.openide.filesystems.FileObject, org.netbeans.spi.project.ProjectState).

Acquires write access.


 

Built on May 4 2005.  |  Portions Copyright 1997-2005 Sun Microsystems, Inc. All rights reserved.