///
void write(std::ostream & os) const;
///
+ std::string infoType() const;
+ ///
+ std::string infoName() const { return name_; }
+ ///
+ bool validate(docstring const & argument) const;
+ ///
+ bool showInsetDialog(BufferView * bv) const;
+ ///
+ bool getStatus(Cursor &, FuncRequest const &, FuncStatus &) const;
+ ///
void doDispatch(Cursor & cur, FuncRequest & cmd);
///
InsetCode lyxCode() const { return INFO_CODE; }
bool setMouseHover(bool mouse_hover);
///
docstring toolTip(BufferView const & bv, int x, int y) const;
+ ///
+ docstring contextMenu(BufferView const &, int, int) const;
private:
/// The translator between the information type enum and corresponding string.
///
virtual Inset * clone() const { return new InsetInfo(*this); }
///
+ void error(std::string const & err);
+ ///
+ void setText(docstring const & str);
+ ///
info_type type_;
///
std::string name_;