From: vsv Date: Tue, 19 Apr 2016 07:51:39 +0000 (+0300) Subject: Add comment field to parameter X-Git-Tag: V_2.3.0~193 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=beacffd029cbe1b6e3c6c30c3284f206073beda3;p=modules%2Fshaper.git Add comment field to parameter --- diff --git a/src/ParametersPlugin/ParametersPlugin_ParametersMgr.h b/src/ParametersPlugin/ParametersPlugin_ParametersMgr.h index 5c82367ad..f8dbe0672 100644 --- a/src/ParametersPlugin/ParametersPlugin_ParametersMgr.h +++ b/src/ParametersPlugin/ParametersPlugin_ParametersMgr.h @@ -54,6 +54,10 @@ public: /// Returns true if result is persistent (stored in document) and on undo-redo, save-open /// it is not needed to recompute it. PARAMETERSPLUGIN_EXPORT virtual bool isPersistentResult() {return false;} + + /// Returns true if this feature must not be created: this is just an action + /// that is not stored in the features history and data model (like "delete part"). + virtual bool isInHistory() { return false; } }; diff --git a/src/ParametersPlugin/plugin-Parameters.xml b/src/ParametersPlugin/plugin-Parameters.xml index 7eb78f185..92e3e0081 100644 --- a/src/ParametersPlugin/plugin-Parameters.xml +++ b/src/ParametersPlugin/plugin-Parameters.xml @@ -10,6 +10,7 @@ +