Salome HOME
projects
/
modules
/
shaper.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix for issue #1174
[modules/shaper.git]
/
src
/
SketchPlugin
/
SketchPlugin_Point.h
diff --git
a/src/SketchPlugin/SketchPlugin_Point.h
b/src/SketchPlugin/SketchPlugin_Point.h
index 1e1a4f65cc842ac70804ab32dbfa3bc6368fdb60..142d0915a4e008fd1cbc43f69452553172f70cce 100644
(file)
--- 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()
{
/// 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("PointCoordin
d
ates");
return MY_COORD_ID;
}
/// Returns the kind of a feature
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();
/// 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
/// 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();
/// Use plugin manager for features creation
SketchPlugin_Point();
+
+protected:
+ /// \brief Initializes attributes of derived class.
+ virtual void initDerivedClassAttributes();
};
#endif
};
#endif