+InsetFloatList::InsetFloatList(string const & type)
+ : InsetCommand(InsetCommandParams())
+{
+ setCmdName(type);
+}
+
+
+InsetFloatList::~InsetFloatList()
+{
+ InsetCommandMailer mailer("toc", *this);
+ mailer.hideDialog();
+}
+
+
+string const InsetFloatList::getScreenLabel(Buffer const * buf) const
+{
+ FloatList const & floats = buf->params.getLyXTextClass().floats();
+ FloatList::const_iterator it = floats[getCmdName()];
+ if (it != floats.end())
+ return _(it->second.listName());
+ else
+ return _("ERROR: Nonexistent float type!");
+}
+
+
+Inset::Code InsetFloatList::lyxCode() const