Git git = Git.wrap(repository);
CleanCommand command = git.clean().setDryRun(true);
command.setCleanDirectories(cleanDirectories);
command.setIgnore(!includeIgnored);
try {
final Set<String> paths = command.call();
getShell().getDisplay().syncExec(new Runnable() {
public void run() {
cleanTable.setInput(paths);
}