private void handleNested(final IErlSelection wranglerSelection, final Shell shell,
final String type) {
try {
CodeInspectionViewsManager.hideView(NESTED_EXPRESSIONS + type);
// call inputdialog
final InputDialogWithCheckbox dialog = new InputDialogWithCheckbox(shell,
"Search for nested expression", "Nest level:",
"Search in the project", "", new IntegerInputValidator());
if (Window.OK == dialog.open()) {
final int nestedVal = Integer.parseInt(dialog.getValue());
final boolean inProject = dialog.isCheckBoxChecked();
RpcResult res = null;
if (inProject) {
res = WranglerBackendManager.getRefactoringBackend().callInspection(
"nested_exprs_in_dirs_eclipse", "iaxi", nestedVal, type,
wranglerSelection.getSearchPath(),