From: vsv Date: Tue, 14 Aug 2018 09:43:22 +0000 (+0300) Subject: Improve help system definition X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=08f22abb700da791f8094621cb276b2d0821c811;p=modules%2Fshaper.git Improve help system definition --- diff --git a/src/BuildPlugin/plugin-Build.xml b/src/BuildPlugin/plugin-Build.xml index e54004fcd..af32a2c62 100644 --- a/src/BuildPlugin/plugin-Build.xml +++ b/src/BuildPlugin/plugin-Build.xml @@ -23,55 +23,55 @@ email : webmaster.salome@opencascade.com + helpfile="vertexFeature.html"> + helpfile="edgeFeature.html"> + helpfile="interpolationFeature.html"> + helpfile="wireFeature.html"> + helpfile="polylineFeature.html"> + helpfile="faceFeature.html"> + helpfile="shellFeature.html"> + helpfile="solidFeature.html"> + helpfile="compsolidFeature.html"> + helpfile="compoundFeature.html"> + helpfile="subShapesFeature.html"> + helpfile="fillingFeature.html"> diff --git a/src/CollectionPlugin/plugin-Collection.xml b/src/CollectionPlugin/plugin-Collection.xml index fcab1b940..87d7d70ef 100644 --- a/src/CollectionPlugin/plugin-Collection.xml +++ b/src/CollectionPlugin/plugin-Collection.xml @@ -27,7 +27,7 @@ email : webmaster.salome@opencascade.com + helpfile="groupFeature.html"> @@ -35,7 +35,7 @@ email : webmaster.salome@opencascade.com + helpfile="fieldFeature.html"> diff --git a/src/Config/Config_FeatureReader.cpp b/src/Config/Config_FeatureReader.cpp index c76aee821..377cb364e 100644 --- a/src/Config/Config_FeatureReader.cpp +++ b/src/Config/Config_FeatureReader.cpp @@ -183,7 +183,9 @@ void Config_FeatureReader::fillFeature(xmlNodePtr theFeatureNode, getProperty(theFeatureNode, FEATURE_TOOLTIP)); outFeatureMessage->setIcon(getProperty(theFeatureNode, FEATURE_ICON)); outFeatureMessage->setKeysequence(getProperty(theFeatureNode, FEATURE_KEYSEQUENCE)); - outFeatureMessage->setHelpFileName(getProperty(theFeatureNode, HELP_FILE)); + std::string aHelpFile = getProperty(theFeatureNode, HELP_FILE); + if (!aHelpFile.empty()) + outFeatureMessage->setHelpFileName(myLibraryName + "/" + aHelpFile); std::string aGroupName = restoreAttribute(NODE_GROUP, _ID); std::string aWBNName = restoreAttribute(NODE_WORKBENCH, _ID); diff --git a/src/ConstructionPlugin/plugin-Construction.xml b/src/ConstructionPlugin/plugin-Construction.xml index 023015bca..f0d46b5fc 100644 --- a/src/ConstructionPlugin/plugin-Construction.xml +++ b/src/ConstructionPlugin/plugin-Construction.xml @@ -27,7 +27,7 @@ email : webmaster.salome@opencascade.com + helpfile="pointFeature.html"> + helpfile="axisFeature.html"> + helpfile="planeFeature.html"> diff --git a/src/ExchangePlugin/plugin-Exchange.xml b/src/ExchangePlugin/plugin-Exchange.xml index 30e7f7d45..e8e915661 100755 --- a/src/ExchangePlugin/plugin-Exchange.xml +++ b/src/ExchangePlugin/plugin-Exchange.xml @@ -23,17 +23,17 @@ email : webmaster.salome@opencascade.com + helpfile="importFeature.html"> + helpfile="exportFeature.html"> + helpfile="dumpFeature.html"> + icon="icons/Features/scale.png" helpfile="transformationFeature.html"> + icon="icons/Features/extrusion.png" helpfile="extrusionFeature.html"> + icon="icons/Features/extrusion_cut.png" helpfile="extrusionCutFeature.html"> + icon="icons/Features/extrusion_fuse.png" helpfile="extrusionFuseFeature.html"> + icon="icons/Features/revol.png" helpfile="revolutionFeature.html"> + icon="icons/Features/revol_cut.png" helpfile="revolutionCutFeature.html"> + icon="icons/Features/revol_fuse.png" helpfile="revolutionFuseFeature.html"> + icon="icons/Features/pipe.png" helpfile="pipeFeature.html"> + icon="icons/Features/intersection.png" helpfile="intersectionFeature.html"> + icon="icons/Features/union.png" helpfile="unionFeature.html"> + icon="icons/Features/remove_subshapes.png" helpfile="removeSubShapesFeature.html"> @@ -110,13 +110,13 @@ email : webmaster.salome@opencascade.com + helpfile="recoverFeature.html"> + icon="icons/Features/fillet.png" auto_preview="true" helpfile="filletFeature.html"> @@ -124,33 +124,33 @@ email : webmaster.salome@opencascade.com + icon="icons/Features/placement.png" helpfile="placementFeature.html"> + icon="icons/Features/movement.png" helpfile="translationFeature.html"> + icon="icons/Features/rotation.png" helpfile="rotationFeature.html"> + icon="icons/Features/symmetry.png" helpfile="symmetryFeature.html"> + icon="icons/Features/multitranslation.png" helpfile="linearCopyFeature.html"> + icon="icons/Features/multirotation.png" helpfile="angularCopyFeature.html"> + icon="icons/Features/measurement.png" helpfile="measurementFeature.html"> diff --git a/src/GDMLPlugin/plugin-GDML.xml b/src/GDMLPlugin/plugin-GDML.xml index 66bc4a0cf..47e3075cc 100644 --- a/src/GDMLPlugin/plugin-GDML.xml +++ b/src/GDMLPlugin/plugin-GDML.xml @@ -23,11 +23,11 @@ email : webmaster.salome@opencascade.com + helpfile="coneFeature.html"> + helpfile="ellipsoidFeature.html"> diff --git a/src/ParametersPlugin/plugin-Parameters.xml b/src/ParametersPlugin/plugin-Parameters.xml index f5aff33e0..1b6c7d245 100644 --- a/src/ParametersPlugin/plugin-Parameters.xml +++ b/src/ParametersPlugin/plugin-Parameters.xml @@ -23,7 +23,7 @@ email : webmaster.salome@opencascade.com + helpfile="parameterFeature.html"> @@ -34,7 +34,7 @@ email : webmaster.salome@opencascade.com + helpfile="managerFeature.html"> diff --git a/src/PrimitivesPlugin/plugin-Primitives.xml b/src/PrimitivesPlugin/plugin-Primitives.xml index a4e85ce55..c7d5a4b62 100644 --- a/src/PrimitivesPlugin/plugin-Primitives.xml +++ b/src/PrimitivesPlugin/plugin-Primitives.xml @@ -23,31 +23,31 @@ email : webmaster.salome@opencascade.com + helpfile="boxFeature.html"> + helpfile="cylinderFeature.html"> + helpfile="sphereFeature.html"> + helpfile="torusFeature.html"> + helpfile="coneFeature.html"> diff --git a/src/PythonAddons/macros/rectangle/widget.xml b/src/PythonAddons/macros/rectangle/widget.xml index 5b36b6d0c..45d5ef793 100644 --- a/src/PythonAddons/macros/rectangle/widget.xml +++ b/src/PythonAddons/macros/rectangle/widget.xml @@ -29,7 +29,7 @@ email : webmaster.salome@opencascade.com + helpfile="rectangleFeature.html"> + helpfile="SketchPlugin.html"> @@ -52,7 +52,7 @@ email : webmaster.salome@opencascade.com + helpfile="pointFeature.html"> @@ -60,7 +60,7 @@ email : webmaster.salome@opencascade.com + helpfile="lineFeature.html"> + helpfile="circleFeature.html"> + helpfile="arcFeature.html"> + helpfile="filletFeature.html"> + helpfile="splitFeature.html"> + helpfile="trimFeature.html"> + helpfile="ellipseFeature.html"> + helpfile="projectionFeature.html"> + helpfile="intersectionFeature.html"> + helpfile="mirrorFeature.html"> @@ -531,7 +531,7 @@ email : webmaster.salome@opencascade.com + helpfile="translationFeature.html"> + helpfile="rotationFeature.html"> + helpfile="distanceFeature.html">