| org.netbeans.spi.project.CopyOperationImplementation
CopyOperationImplementation | public interface CopyOperationImplementation extends DataFilesProviderImplementation(Code) | | Project Copy Operation. Allows to gather information necessary for project
copy and also provides callbacks to the project type to handle special
checkpoints during the copy process.
An implementation of this interface may be registered in the project's lookup to support
copy operation in the following cases:
- The project type wants to use
DefaultProjectOperations
to perform the copy operation.
- If this project may be part of of a compound project (like EJB project is a part of a J2EE project),
and the compound project wants to copy all the sub-projects.
The project type is not required to put an implementation of this interface into the project's
lookup if the above two cases should not be supported.
author: Jan Lahoda since: 1.7 |
notifyCopied | public void notifyCopied(Project original, File originalPath, String nueName) throws IOException(Code) | | Notification that the copy operation has finished. Is supposed to fix the
newly created (copied) project into the correct state (including changing its display name
to nueName). Should be called on both original and newly created project (in this order).
Parameters: original - null when called on the original project, the original project when called on the new project Parameters: originalPath - the project folder of the original project (for consistencywith MoveOperationImplementation.notifyMoved) Parameters: nueName - new name for the newly created project. throws: IOException - if an I/O operation fails. |
notifyCopying | public void notifyCopying() throws IOException(Code) | | Pre-copy notification. The exact meaning is left on the project implementors, but
typically this means to undeloy the application and remove all artifacts
created by the build project.
throws: IOException - if an I/O operation fails. |
|
|