Class: Sketchup::PagesObserver Abstract
- Inherits:
-
EntitiesObserver
- Object
- EntitiesObserver
- Sketchup::PagesObserver
Overview
To implement this observer, create a Ruby class of this type, override the desired methods, and add an instance of the observer to the objects of interests.
This observer interface is implemented to react to pages events.
Instance Method Summary # collapse
-
#onContentsModified(pages) ⇒ nil
The #onContentsModified method is invoked whenever the pages change.
-
#onElementAdded(pages, page) ⇒ nil
The #onElementAdded method is invoked when an element is added to a Pages object.
-
#onElementRemoved(pages, page) ⇒ nil
The #onElementRemoved method is invoked when an element is removed from a Pages object.
Methods inherited from EntitiesObserver
#onActiveSectionPlaneChanged, #onElementModified, #onEraseEntities
Instance Method Details
↑ #onContentsModified(pages) ⇒ nil
The #onContentsModified method is invoked whenever the pages change.
↑ #onElementAdded(pages, page) ⇒ nil
The #onElementAdded method is invoked when an element is added to a Sketchup::Pages object.
↑ #onElementRemoved(pages, page) ⇒ nil
The #onElementRemoved method is invoked when an element is removed from a Sketchup::Pages object.