@Override
protected String[] getNewInputObject() {
InputDialog d = new InputDialog(getShell(), "New entry",
"Add the entry in the format path_to_replace,new_path or path,DONTASK.", "",
new IInputValidator() {
public String isValid(String newText) {
String[] splitted = StringUtils.splitAndRemoveEmptyTrimmed(newText, ',').toArray(
new String[0]);
if (splitted.length != 2) {
return "Input must have 2 paths separated by a comma.";