use of org.tigris.subversion.subclipse.core.repo.ISVNListener in project subclipse by subclipse.
the class RepositoryManager method startup.
/**
* called when plugin is started
*/
public void startup() {
commentsManager.loadCommentHistory();
commentsManager.loadCommentTemplates();
keyFilesManager.loadKeyFileHistory();
// we listen to changes to repository so that we can advise concerned views
SVNProviderPlugin.getPlugin().getRepositoryResourcesManager().addRepositoryListener(new ISVNListener() {
public void repositoryAdded(ISVNRepositoryLocation root) {
rootAdded(root);
}
public void repositoryRemoved(ISVNRepositoryLocation root) {
rootRemoved(root);
}
public void remoteResourceDeleted(ISVNRemoteResource resource) {
resourceDeleted(resource);
}
public void remoteResourceCreated(ISVNRemoteFolder parent, String resourceName) {
resourceCreated(parent, resourceName);
}
public void remoteResourceCopied(ISVNRemoteResource source, ISVNRemoteFolder destination) {
resourceCopied(source, destination);
}
public void remoteResourceMoved(ISVNRemoteResource resource, ISVNRemoteFolder destinationFolder, String destinationResourceName) {
resourceMoved(resource, destinationFolder, destinationResourceName);
}
public void repositoryModified(ISVNRepositoryLocation root) {
rootModified(root);
}
});
}
Aggregations