}
}
private void handleEdit() {
Repository repo = (Repository)((StructuredSelection)repositoryViewer.getSelection()).getFirstElement();
RepositoryDialog diag = new RepositoryDialog(repositoryViewer.getTable().getShell(), repo.clone());
if (diag.open() == Dialog.OK) {
Repository newRepo = diag.getRepository();
repo.setName(newRepo.getName());
repo.setUrl(newRepo.getUrl());
}