public interface ProjectServiceListener
ProjectService
events, e.g. the loading and saving of a
project.Modifier and Type | Method and Description |
---|---|
void |
afterLoad(ProjectService projectService,
Map<String,ProjectFile> projectFiles)
Called after a project was loaded.
|
void |
beforeSave(ProjectService projectService,
Map<String,ProjectFile> projectFiles)
Called before a project is saved.
|
void |
onClean()
Called when the project is cleaned.
|
void |
onExportConfigurationChange()
Called after project has changed
|
void |
projectInfoChanged(ProjectInfo info)
Called when the project information has been changed.
|
void |
resourceAdded(String actionId,
Resource resource)
Called after a new resource was added.
|
void |
resourcesRemoved(String actionId,
List<Resource> resources)
Called when resources for an action have been removed.
|
void beforeSave(ProjectService projectService, Map<String,ProjectFile> projectFiles)
projectService
- the calling project serviceprojectFiles
- the map of additional project files, listeners may
add additional files to the mapvoid afterLoad(ProjectService projectService, Map<String,ProjectFile> projectFiles)
projectService
- the calling project serviceprojectFiles
- the additional project files that were loaded,
listeners may use them to update their statevoid resourceAdded(String actionId, Resource resource)
actionId
- the action the resource is associated toresource
- the added resourcevoid resourcesRemoved(String actionId, List<Resource> resources)
actionId
- the action identifierresources
- the removed resourcesvoid projectInfoChanged(ProjectInfo info)
info
- the updated project informationvoid onClean()
void onExportConfigurationChange()
Build 2013-10-07_11-27-38
Revision 99b27713a799a59a21b0b166eaaea8aaefbf125a