public static interface ProjectOperations.Callback
ProjectOperations.ProjectOperationsBuilder.setCallback(org.netbeans.modules.java.api.common.project.ProjectOperations.Callback)
method.Modifier and Type | Interface and Description |
---|---|
static class |
ProjectOperations.Callback.Operation
The type of project operation.
|
Modifier and Type | Method and Description |
---|---|
void |
afterOperation(ProjectOperations.Callback.Operation operation,
String newName,
Pair<File,Project> oldProject)
Called at the end of the project operation.
|
void |
beforeOperation(ProjectOperations.Callback.Operation operation)
Called at the beginning of the project operation.
|
void beforeOperation(@NonNull ProjectOperations.Callback.Operation operation)
operation
- the operation being performedvoid afterOperation(@NonNull ProjectOperations.Callback.Operation operation, @NullAllowed String newName, @NullAllowed Pair<File,Project> oldProject)
operation
- the operation being performednewName
- the new project's name or null when not applicable, eg. deleteoldProject
- the old project or null when not applicable, eg. delete, move, rename