/// Creates an arc-shape
SKETCHPLUGIN_EXPORT virtual void execute();
- /// Request for initialization of data model of the feature: adding all attributes
- SKETCHPLUGIN_EXPORT virtual void initAttributes();
-
/// Called on change of any argument-attribute of this object
/// \param theID identifier of changed attribute
SKETCHPLUGIN_EXPORT virtual void attributeChanged(const std::string& theID);
/// Updates the "reversed" flag
/// \param isReversed whether the arc will be reversed
void setReversed(bool isReversed);
+ /// Returns \c true is the arc is reversed
+ bool isReversed();
/// Use plugin manager for features creation
SketchPlugin_Arc();
+protected:
+ /// \brief Initializes attributes of derived class.
+ virtual void initDerivedClassAttributes();
+
private:
/// Returns true if all obligatory attributes are initialized
bool isFeatureValid();