if (inputElement instanceof IProject) {
IProject project = (IProject) inputElement;
ICVSRemoteResource remoteProject;
remoteProject = CVSWorkspaceRoot.getRemoteResourceFor(project);
ICVSRepositoryLocation location = remoteProject.getRepository();
ChangeLogRepositoryMap repository = changeLogMap
.getRepository(location);
Collection entries = repository.getChangeLogEntries();
return(entries.toArray());
}
} catch (CVSException e) {
e.printStackTrace();
}