*/
public Object execute(ExecutionEvent event) throws ExecutionException {
IWorkbenchWindow window = HandlerUtil
.getActiveWorkbenchWindowChecked(event);
FitResourceSelectionDialog dialog = new FitResourceSelectionDialog(
window.getShell(), true);
dialog.setListLabelProvider(new FitResourceLabelProvider());
dialog.setTitle("Open FitNesse");
int returnCode = dialog.open();
if (returnCode != FitResourceSelectionDialog.OK) {
return null;
}
FitResource r = (FitResource) dialog.getFirstResult();
if (r == null) {
return null;
}
IFile file = ResourcesPlugin