X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FModelAPI%2FModelAPI_ResultField.h;h=4e2be6a4090e102188bdd8b1e88978c490ba3b37;hb=d5c7ad3c50f89a2ddc2de1866ffb7f09397f3be2;hp=2393be2bf5e6ad716c0396cf7e1d282b7e686e69;hpb=616dc5cdcfe074aa484a261b03f6763928d6e829;p=modules%2Fshaper.git diff --git a/src/ModelAPI/ModelAPI_ResultField.h b/src/ModelAPI/ModelAPI_ResultField.h index 2393be2bf..4e2be6a40 100644 --- a/src/ModelAPI/ModelAPI_ResultField.h +++ b/src/ModelAPI/ModelAPI_ResultField.h @@ -67,6 +67,9 @@ public: /// signal. MODELAPI_EXPORT virtual void setDisplayed(const bool theDisplay); + /// Returns a GUI name of this step + MODELAPI_EXPORT virtual std::string name() = 0; + protected: /// This method is called just after creation of the object: it must initialize /// all fields, normally initialized in the constructor @@ -104,6 +107,13 @@ public: /// Returns step object /// \param theId an id of the object virtual std::shared_ptr step(int theId) const = 0; + + /// Sets the displayed/hidden state of the object. If it is changed, sends the "redisplay" + /// signal. + MODELAPI_EXPORT virtual void setDisplayed(const bool theDisplay); + + /// To refresh the steps of a field + MODELAPI_EXPORT virtual void updateSteps() = 0; }; //! Pointer on feature object