static const std::string MY_COORD_ID("PointCoordindates");
return MY_COORD_ID;
}
- /// Coordinates of the point
- inline static const std::string& TABLE_ID()
- {
- static const std::string MY_TABLE_ID("TableValue");
- return MY_TABLE_ID;
- }
-
/// Returns the kind of a feature
SKETCHPLUGIN_EXPORT virtual const std::string& getKind()
{
/// Creates a new part document if needed
SKETCHPLUGIN_EXPORT virtual void execute();
- /// Request for initialization of data model of the feature: adding all attributes
- SKETCHPLUGIN_EXPORT virtual void initAttributes();
-
/// Moves the feature
/// \param theDeltaX the delta for X coordinate is moved
/// \param theDeltaY the delta for Y coordinate is moved
/// Use plugin manager for features creation
SketchPlugin_Point();
+
+protected:
+ /// \brief Initializes attributes of derived class.
+ virtual void initDerivedClassAttributes();
};
#endif