String (Editor editor, PsiFile file, XmlAttribute context) { if (!editor.getSelectionModel().hasSelection()) { return XPathBundle.message("notification.content.please.select.code.that.should.be.extracted"); } return null; }