Messages.showErrorDialog(project, "There is no manifest in the bundle JAR. Please check the facet settings, rebuild and try again.",
"Cannot open manifest");
return;
}
FileEditorProviderManager editorProviderManager = FileEditorProviderManager.getInstance();
if (editorProviderManager.getProviders(project, manifestFile).length == 0) {
Messages.showMessageDialog(project, IdeBundle.message("error.files.of.this.type.cannot.be.opened",
ApplicationNamesInfo.getInstance().getProductName()),
IdeBundle.message("title.cannot.open.file"), Messages.getErrorIcon());
return;
}