Class: Sketchup::OptionsProviderObserver
- Inherits:
-
Object
- Object
- Sketchup::OptionsProviderObserver
Overview
This observer interface is implemented to react to operations provider events. What this means is that you can watch as the user changes SketchUp options and react to them. The following OptionsProviders are defined in the API:
-
"UnitsOptions"
-
"PrintOptions"
-
"PageOptions"
-
"SlideshowOptions"
-
"NamedOptions"
Each of these has a list of specific options that the user can set. See the OptionsManager and OptionsProvider classes for more details.
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.
Instance Method Summary # collapse
-
#onOptionsProviderChanged(provider, name) ⇒ nil
The #onOptionsProviderChanged method is invoked when a property of an OptionsProvider changes.
Instance Method Details
↑ #onOptionsProviderChanged(provider, name) ⇒ nil
The #onOptionsProviderChanged method is invoked when a property of an Sketchup::OptionsProvider changes.