this.parent = parent;
this.shell = parent.getShell();
VimPlugin plugin = VimPlugin.getDefault();
if (!plugin.gvimAvailable()) {
MessageDialog dialog = new MessageDialog(
shell, "Vimplugin", null,
plugin.getMessage("gvim.not.found.dialog"),
MessageDialog.ERROR,
new String[]{IDialogConstants.OK_LABEL, IDialogConstants.CANCEL_LABEL}, 0)