- //Set last parameters for not published hypothesis
-
- void SetLastParameters(const char* theParameters);
-
- // Clear parameters list
- void ClearParameters();
+ // Set the variable parameter (a variable name or a parameter value); \a method is a name
+ // of method setting this parameter.
+ // This method must be called by the hypothesis creator just before calling hyp->method()
+ virtual void SetVarParameter (const char* parameter, const char* method);
+
+ // Return the variable parameter used at Hypothesis Creation by the name of method
+ // setting this parameter. The returned variable name is used at Hypothesis Edition.
+ virtual char* GetVarParameter (const char* methodName);
+
+ // Store a hypothesis wrapping this not published one. This hyp, which has
+ // no own parameters but is published, is used to store variables defining parameters
+ // of this hypothesis. This method is to be called before setting parameters
+ // of this hypothesis.
+ virtual void SetHolderHypothesis(const SMESH::SMESH_Hypothesis_ptr hyp);