+ myXSpin->setValue(thePoint->x());
+ myYSpin->setValue(thePoint->y());
+ this->blockSignals(isBlocked);
+
+ emit valuesChanged();
+}
+
+bool ModuleBase_WidgetPoint2D::storeValue() const
+{
+ boost::shared_ptr<ModelAPI_Data> aData = myFeature->data();
+ boost::shared_ptr<GeomDataAPI_Point2D> aPoint = boost::dynamic_pointer_cast<GeomDataAPI_Point2D>(
+ aData->attribute(attributeID()));
+
+ ModuleBase_WidgetPoint2D* that = (ModuleBase_WidgetPoint2D*) this;
+ bool isBlocked = that->blockSignals(true);
+ bool isImmutable = aPoint->setImmutable(true);
+#ifdef _DEBUG
+ std::string _attr_name = myAttributeID;
+ double _X = myXSpin->value();
+ double _Y = myYSpin->value();
+#endif