+ /// Constructor that registers features and other plugin elements.
+ SKETCHPLUGIN_EXPORT SketchPlugin_Plugin();
+
+ //! Redefinition of Events_Listener method
+ SKETCHPLUGIN_EXPORT virtual void processEvent(const std::shared_ptr<Events_Message>& theMessage);
+
+protected:
+ //! Returns the state of the feature in the WorkBench: enabled or disabled for the moment.
+ std::shared_ptr<ModelAPI_FeatureStateMessage> getFeaturesState(
+ const std::shared_ptr<ModelAPI_Feature>& theFeature) const;