Extensions: special calls for document object extensions

This commit is contained in:
Stefan Tröger
2016-06-02 06:29:05 +02:00
committed by wmayer
parent 552fe52774
commit 16f8dbbacd
17 changed files with 732 additions and 38 deletions

View File

@@ -233,11 +233,11 @@ protected:
/// get called after a document has been fully restored
virtual void onDocumentRestored() {}
/// get called after setting the document
virtual void onSettingDocument() {}
virtual void onSettingDocument();
/// get called after a brand new object was created
virtual void setupObject() {}
virtual void setupObject();
/// get called when object is going to be removed from the document
virtual void unsetupObject() {}
virtual void unsetupObject();
/// python object of this class and all descendend
protected: // attributes