+ //! Stores the Id of the current operation (normally is called for the root document)
+ void operationId(const std::string& theId);
+
+ //! Returns the list of Ids of the operations that can be undoed (called for the root document)
+ std::list<std::string> undoList() const;
+
+ //! Returns the list of Ids of the operations that can be redoed (called for the root document)
+ std::list<std::string> redoList() const;
+
+ //! Internally makes document know that feature was removed or added in history after creation
+ virtual void updateHistory(const std::shared_ptr<ModelAPI_Object> theObject);
+ //! Internally makes document know that feature was removed or added in history after creation
+ virtual void updateHistory(const std::string theGroup);
+
+ //! Returns true if the document is root module document
+ bool isRoot() const;
+
+ //! Sets shared pointer to this
+ void setThis(DocumentPtr theDoc);
+
+ //! Returns the objects manager
+ Model_Objects* objects() {return myObjs;}
+
+ ///! Informs the document that it becomes active and some actions must be performed
+ virtual void setActive(const bool theFlag);
+ //! Returns true if this document is currently active
+ virtual bool isActive() const;
+