Salome HOME
Add dumping named of copied entities in the sketch (issue #1924)
[modules/shaper.git] / src / ParametersPlugin / plugin-Parameters.xml
index 027f50c246e8de829531bd99f0f5f3f8190583ac..92e3e0081be3333b1f43d948929463c159002aaf 100644 (file)
@@ -3,9 +3,18 @@
 <plugin>
   <workbench id="Part">
     <group id="Parameters">
-      <feature id="Parameter" title="New Variable" tooltip="Creates a variable" icon=":pictures/expression.png">
-        <stringvalue id="variable" label="Name" icon=":pictures/expression.png"/>
-        <expr_editor id="expression"/>
+      <feature id="Parameter" title="Parameter" tooltip="Create a parameter" icon=":icons/expression.png">
+        <stringvalue id="variable" label="Name" icon=":icons/expression.png" placeholder="Please input the parameter name">
+          <validator id="Parameters_VariableValidator"/>
+        </stringvalue>
+        <expr_editor id="expression" placeholder="Please input the expression">
+          <validator id="Parameters_ExpressionValidator"/>
+        </expr_editor>
+        <stringvalue id="comment" label="Comment"/>
+      </feature>
+      
+      <feature id="ParametersMgr" title="Parameters" tooltip="Manage parameters" icon=":icons/paper_roll.png" modal="true">
+        <parameters-manager/>
       </feature>
     </group>
   </workbench>