public boolean requestConfirmation(final Collection modifiedFiles) {
    if (modifiedFiles.isEmpty()) return true;

    return Messages.showOkCancelDialog(createMessage(modifiedFiles), myActionName,
                                       createOverwriteButtonName(modifiedFiles), getCancelButtonText(),
                                       Messages.getWarningIcon()) ==
           Messages.OK;

  }
public boolean requestConfirmation(final Collection modifiedFiles)