X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FSketchPlugin%2FSketchPlugin_Point.h;h=142d0915a4e008fd1cbc43f69452553172f70cce;hb=7c26163aa1b2f3384ed0b3bd3fb12188478f6189;hp=1e1a4f65cc842ac70804ab32dbfa3bc6368fdb60;hpb=bfc294ef2ff4c055570ee056850999e37dfc5fb7;p=modules%2Fshaper.git diff --git a/src/SketchPlugin/SketchPlugin_Point.h b/src/SketchPlugin/SketchPlugin_Point.h index 1e1a4f65c..142d0915a 100644 --- a/src/SketchPlugin/SketchPlugin_Point.h +++ b/src/SketchPlugin/SketchPlugin_Point.h @@ -28,7 +28,7 @@ class SketchPlugin_Point : public SketchPlugin_SketchEntity /// Coordinates of the point inline static const std::string& COORD_ID() { - static const std::string MY_COORD_ID("PointCoordinates"); + static const std::string MY_COORD_ID("PointCoordindates"); return MY_COORD_ID; } /// Returns the kind of a feature @@ -44,9 +44,6 @@ class SketchPlugin_Point : public SketchPlugin_SketchEntity /// 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 @@ -57,6 +54,10 @@ class SketchPlugin_Point : public SketchPlugin_SketchEntity /// Use plugin manager for features creation SketchPlugin_Point(); + +protected: + /// \brief Initializes attributes of derived class. + virtual void initDerivedClassAttributes(); }; #endif