@Override
public void run() {
- InputDialog dialog = new InputDialog(Display.getCurrent().getActiveShell(), "Add URL", "Input URL", "", new URLValidator());
+ InputDialog dialog = new InputDialog(Display.getCurrent().getActiveShell(), Messages.AddUrlDocument_AddURL, Messages.AddUrlDocument_InputURL, "", new URLValidator()); //$NON-NLS-3$
if (dialog.open() != InputDialog.OK)
return;
final String uriString = dialog.getValue();
}
}, e -> {
if (e != null)
- ExceptionUtils.logAndShowError("Cannot add URL link.", e);
+ ExceptionUtils.logAndShowError(Messages.AddUrlDocument_CannotAddURLLink, e);
});
}
};