]> git.lyx.org Git - lyx.git/blobdiff - src/insets/InsetRef.h
Cleanup mouse/selection/context-menu interactions.
[lyx.git] / src / insets / InsetRef.h
index a9c8f7c8877c2950f2043ae3d6cca3c624b5ee84..1af31fa3f808d904b3fe7e8d55349bc436cbcf0f 100644 (file)
@@ -38,11 +38,8 @@ public:
 
        InsetRef(Buffer const & buffer, InsetCommandParams const &);
 
-       /// verify label and reference.
-       /**
-         * Overloaded from Inset::initView.
-         **/
-       void initView();
+       ///
+       bool isLabeled() const { return true; }
        ///
        docstring screenLabel() const;
        ///
@@ -71,13 +68,9 @@ public:
        void updateLabels(ParIterator const & it);
        ///
        void addToToc(ParConstIterator const &) const;
-       ///
-       virtual docstring contextMenu(BufferView const & bv, int x, int y) const;
 protected:
        ///
        InsetRef(InsetRef const &);
-       ///
-       void doDispatch(Cursor & cur, FuncRequest & cmd);
 private:
        ///
        Inset * clone() const { return new InsetRef(*this); }