public abstract class ProjectXmlSavedHook extends Object
nbproject/project.xml
is saved.
An instance should be placed into a project's lookup to register it.Project.getLookup()
Modifier | Constructor and Description |
---|---|
protected |
ProjectXmlSavedHook()
Default constructor for subclasses.
|
Modifier and Type | Method and Description |
---|---|
protected abstract void |
projectXmlSaved()
Called when shared project metadata (
project.xml ) has been modified. |
protected ProjectXmlSavedHook()
protected abstract void projectXmlSaved() throws IOException
project.xml
) has been modified.
Also called the first the time a project created by ProjectGenerator
is saved.
This is called during a project save event and so runs with write access.
Typically the project's build.xml
and/or nbproject/build-impl.xml
may need to be (re-)generated; see GeneratedFilesHelper
for details.
IOException
- if running the hook failed for some reason