From: dish Date: Thu, 28 Nov 2024 12:38:29 +0000 (+0000) Subject: Add action ID mutations. X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=4698ac46c4f377210ece0c097d5d0fa28aacd43a;p=modules%2Fgeom.git Add action ID mutations. --- diff --git a/resources/CMakeLists.txt b/resources/CMakeLists.txt index 16985f969..76b924292 100644 --- a/resources/CMakeLists.txt +++ b/resources/CMakeLists.txt @@ -33,6 +33,7 @@ SET( _res_files ShHealing Y14.5M-2009.ttf action_assets.json + action_id_mutations.json 3dsketch.png isoline.png isoline_v.png diff --git a/resources/SalomeApp.xml.in b/resources/SalomeApp.xml.in index f4a2260e5..e2ce64e7c 100644 --- a/resources/SalomeApp.xml.in +++ b/resources/SalomeApp.xml.in @@ -114,6 +114,9 @@
+
+ +
diff --git a/resources/action_id_mutations.json b/resources/action_id_mutations.json new file mode 100644 index 000000000..4d1ca1487 --- /dev/null +++ b/resources/action_id_mutations.json @@ -0,0 +1,202 @@ +{ + "mutations": [ + { + "sectionPrefixOld": "shortcuts", + "sectionPrefixNew": "shortcuts_vA1.0", + "oldToNewActionIDMap": { + "GEOM/Isolines/Increase number" : "GEOM/Selection/POP_ISOS/Increase number", + "GEOM/Isolines/Decrease number" : "GEOM/Selection/POP_ISOS/Decrease number", + "GEOM/Transparency/Increase" : "GEOM/Selection/POP_TRANSPARENCY/Increase", + "GEOM/Transparency/Decrease" : "GEOM/Selection/POP_TRANSPARENCY/Decrease", + "GEOM/AdvancedGEOM/DividedCylinder" : "GEOM/Plugins/AdvancedGEOM/DividedCylinder", + "GEOM/AdvancedGEOM/DividedDisk" : "GEOM/Plugins/AdvancedGEOM/DividedDisk", + "GEOM/AdvancedGEOM/SmoothingSurface" : "GEOM/Plugins/AdvancedGEOM/SmoothingSurface", + "GEOM/AdvancedGEOM/TShape_Basic" : "GEOM/Plugins/AdvancedGEOM/TShape_Basic", + "GEOM/BREPPlugin/Export_BREP" : "GEOM/Plugins/BREPPlugin/Export_BREP", + "GEOM/BREPPlugin/Import_BREP" : "GEOM/Plugins/BREPPlugin/Import_BREP", + "GEOM/IGESPlugin/Export_IGES" : "GEOM/Plugins/IGESPlugin/Export_IGES", + "GEOM/IGESPlugin/Import_IGES" : "GEOM/Plugins/IGESPlugin/Import_IGES", + "GEOM/STEPPlugin/Export_STEP" : "GEOM/Plugins/STEPPlugin/Export_STEP", + "GEOM/STEPPlugin/Import_STEP" : "GEOM/Plugins/STEPPlugin/Import_STEP", + "GEOM/STLPlugin/Export_STL" : "GEOM/Plugins/STLPlugin/Export_STL", + "GEOM/STLPlugin/Import_STL" : "GEOM/Plugins/STLPlugin/Import_STL", + "GEOM/VTKPlugin/Export_VTK" : "GEOM/Plugins/VTKPlugin/Export_VTK", + "GEOM/XAOPlugin/Export_XAO" : "GEOM/Plugins/XAOPlugin/Export_XAO", + "GEOM/XAOPlugin/Import_XAO" : "GEOM/Plugins/XAOPlugin/Import_XAO", + "GEOM/STB_DELETE" : "GEOM/Edit/DELETE", + "GEOM/STB_POINT" : "GEOM/NewEntity/Basic/POINT", + "GEOM/STB_LINE" : "GEOM/NewEntity/Basic/LINE", + "GEOM/STB_CIRCLE" : "GEOM/NewEntity/Basic/CIRCLE", + "GEOM/STB_ELLIPSE" : "GEOM/NewEntity/Basic/ELLIPSE", + "GEOM/STB_ARC" : "GEOM/NewEntity/Basic/ARC", + "GEOM/STB_CURVE" : "GEOM/NewEntity/Basic/CURVE", + "GEOM/STB_ISOLINE" : "GEOM/NewEntity/Basic/ISOLINE", + "GEOM/STB_VECTOR" : "GEOM/NewEntity/Basic/VECTOR", + "GEOM/STB_PLANE" : "GEOM/NewEntity/Basic/PLANE", + "GEOM/STB_LOCAL_CS" : "GEOM/NewEntity/Basic/LOCAL_CS", + "GEOM/STB_ORIGIN_AND_VECTORS" : "GEOM/NewEntity/Basic/ORIGIN_AND_VECTORS", + "GEOM/STB_SURFACE_FROM_FACE" : "GEOM/NewEntity/Basic/SURFACE_FROM_FACE", + "GEOM/STB_BOX" : "GEOM/NewEntity/Primitives/BOX", + "GEOM/STB_CYLINDER" : "GEOM/NewEntity/Primitives/CYLINDER", + "GEOM/STB_SPHERE" : "GEOM/NewEntity/Primitives/SPHERE", + "GEOM/STB_TORUS" : "GEOM/NewEntity/Primitives/TORUS", + "GEOM/STB_CONE" : "GEOM/NewEntity/Primitives/CONE", + "GEOM/STB_RECTANGLE" : "GEOM/NewEntity/Primitives/RECTANGLE", + "GEOM/STB_DISK" : "GEOM/NewEntity/Primitives/DISK", + "GEOM/STB_EXTRUSION" : "GEOM/NewEntity/Generation/EXTRUSION", + "GEOM/STB_REVOLUTION" : "GEOM/NewEntity/Generation/REVOLUTION", + "GEOM/STB_FILLING" : "GEOM/NewEntity/Generation/FILLING", + "GEOM/STB_PIPE" : "GEOM/NewEntity/Generation/PIPE", + "GEOM/STB_PIPE_PATH" : "GEOM/NewEntity/Generation/PIPE_PATH", + "GEOM/STB_THICKNESS" : "GEOM/NewEntity/Generation/THICKNESS", + "GEOM/STB_GROUP_CREATE" : "GEOM/NewEntity/Group/GROUP_CREATE", + "GEOM/STB_GROUP_EDIT" : "GEOM/NewEntity/Group/GROUP_EDIT", + "GEOM/STB_GROUP_UNION" : "GEOM/NewEntity/Group/GROUP_UNION", + "GEOM/STB_GROUP_INTERSECT" : "GEOM/NewEntity/Group/GROUP_INTERSECT", + "GEOM/STB_GROUP_CUT" : "GEOM/NewEntity/Group/GROUP_CUT", + "GEOM/STB_FIELD_CREATE" : "GEOM/NewEntity/Field/FIELD_CREATE", + "GEOM/STB_FIELD_EDIT" : "GEOM/NewEntity/Field/FIELD_EDIT", + "GEOM/STB_RELOAD_IMPORTED" : "GEOM/Selection/RELOAD_IMPORTED", + "GEOM/STB_Q_FACE" : "GEOM/NewEntity/Blocks/Q_FACE", + "GEOM/STB_HEX_SOLID" : "GEOM/NewEntity/Blocks/HEX_SOLID", + "GEOM/STB_SKETCH" : "GEOM/NewEntity/Basic/SKETCH", + "GEOM/STB_3DSKETCH" : "GEOM/NewEntity/Basic/3DSKETCH", + "GEOM/STB_EXPLODE" : "GEOM/NewEntity/EXPLODE", + "GEOM/STB_FEATURE_DETECTION" : "GEOM/NewEntity/FEATURE_DETECTION", + "GEOM/STB_PICTURE_IMPORT" : "GEOM/NewEntity/PICTURE_IMPORT", + "GEOM/STB_CURVE_CREATOR" : "GEOM/NewEntity/Basic/CURVE_CREATOR", + "GEOM/STB_EDGE" : "GEOM/NewEntity/Build/EDGE", + "GEOM/STB_WIRE" : "GEOM/NewEntity/Build/WIRE", + "GEOM/STB_FACE" : "GEOM/NewEntity/Build/FACE", + "GEOM/STB_SHELL" : "GEOM/NewEntity/Build/SHELL", + "GEOM/STB_SOLID" : "GEOM/NewEntity/Build/SOLID", + "GEOM/STB_COMPOUND" : "GEOM/NewEntity/Build/COMPOUND", + "GEOM/STB_FUSE" : "GEOM/Operations/Boolean/FUSE", + "GEOM/STB_COMMON" : "GEOM/Operations/Boolean/COMMON", + "GEOM/STB_CUT" : "GEOM/Operations/Boolean/CUT", + "GEOM/STB_SECTION" : "GEOM/Operations/Boolean/SECTION", + "GEOM/STB_TRANSLATION" : "GEOM/Operations/Transformation/TRANSLATION", + "GEOM/STB_ROTATION" : "GEOM/Operations/Transformation/ROTATION", + "GEOM/STB_MODIFY_LOCATION" : "GEOM/Operations/Transformation/MODIFY_LOCATION", + "GEOM/STB_MIRROR" : "GEOM/Operations/Transformation/MIRROR", + "GEOM/STB_SCALE" : "GEOM/Operations/Transformation/SCALE", + "GEOM/STB_OFFSET" : "GEOM/Operations/Transformation/OFFSET", + "GEOM/STB_PROJECTION" : "GEOM/Operations/Transformation/PROJECTION", + "GEOM/STB_PROJ_ON_CYL" : "GEOM/Operations/Transformation/PROJ_ON_CYL", + "GEOM/STB_MUL_TRANSLATION" : "GEOM/Operations/Transformation/MUL_TRANSLATION", + "GEOM/STB_MUL_ROTATION" : "GEOM/Operations/Transformation/MUL_ROTATION", + "GEOM/STB_EXTENSION" : "GEOM/Operations/Transformation/EXTENSION", + "GEOM/STB_PARTITION" : "GEOM/Operations/PARTITION", + "GEOM/STB_ARCHIMEDE" : "GEOM/Operations/ARCHIMEDE", + "GEOM/STB_FILLET" : "GEOM/Operations/FILLET", + "GEOM/STB_CHAMFER" : "GEOM/Operations/CHAMFER", + "GEOM/STB_GET_SHAPES_ON_SHAPE" : "GEOM/Operations/GET_SHAPES_ON_SHAPE", + "GEOM/STB_GET_SHARED_SHAPES" : "GEOM/Operations/GET_SHARED_SHAPES", + "GEOM/STB_TRANSFER_DATA" : "GEOM/Operations/TRANSFER_DATA", + "GEOM/STB_EXTRACTION" : "GEOM/Operations/EXTRACTION", + "GEOM/STB_EXTRUDED_CUT" : "GEOM/Operations/EXTRUDED_CUT", + "GEOM/STB_EXTRUDED_BOSS" : "GEOM/Operations/EXTRUDED_BOSS", + "GEOM/STB_FILLET_1D" : "GEOM/Operations/FILLET_1D", + "GEOM/STB_FILLET_2D" : "GEOM/Operations/FILLET_2D", + "GEOM/STB_MUL_TRANSFORM" : "GEOM/Operations/Blocks/MUL_TRANSFORM", + "GEOM/STB_EXPLODE_BLOCKS" : "GEOM/Operations/Blocks/EXPLODE_BLOCKS", + "GEOM/STB_PROPAGATE" : "GEOM/Operations/Blocks/PROPAGATE", + "GEOM/STB_SEWING" : "GEOM/Repair/SEWING", + "GEOM/STB_GLUE_FACES" : "GEOM/Repair/GLUE_FACES", + "GEOM/STB_GLUE_EDGES" : "GEOM/Repair/GLUE_EDGES", + "GEOM/STB_LIMIT_TOLERANCE" : "GEOM/Repair/LIMIT_TOLERANCE", + "GEOM/STB_SUPPRESS_FACES" : "GEOM/Repair/SUPPRESS_FACES", + "GEOM/STB_SUPPERSS_HOLES" : "GEOM/Repair/SUPPERSS_HOLES", + "GEOM/STB_SHAPE_PROCESS" : "GEOM/Repair/SHAPE_PROCESS", + "GEOM/STB_CLOSE_CONTOUR" : "GEOM/Repair/CLOSE_CONTOUR", + "GEOM/STB_SUPPRESS_INT_WIRES" : "GEOM/Repair/SUPPRESS_INT_WIRES", + "GEOM/STB_POINT_ON_EDGE" : "GEOM/Repair/POINT_ON_EDGE", + "GEOM/STB_CHECK_FREE_BNDS" : "GEOM/Repair/CHECK_FREE_BNDS", + "GEOM/STB_CHECK_FREE_FACES" : "GEOM/Repair/CHECK_FREE_FACES", + "GEOM/STB_CHANGE_ORIENTATION" : "GEOM/Repair/CHANGE_ORIENTATION", + "GEOM/STB_REMOVE_WEBS" : "GEOM/Repair/REMOVE_WEBS", + "GEOM/STB_REMOVE_EXTRA_EDGES" : "GEOM/Repair/REMOVE_EXTRA_EDGES", + "GEOM/STB_FUSE_EDGES" : "GEOM/Repair/FUSE_EDGES", + "GEOM/STB_UNION_FACES" : "GEOM/Repair/UNION_FACES", + "GEOM/STB_INSPECT_OBJECT" : "GEOM/Repair/INSPECT_OBJECT", + "GEOM/STB_POINT_COORDS" : "GEOM/Inspection/POINT_COORDS", + "GEOM/STB_BASIC_PROPS" : "GEOM/Inspection/BASIC_PROPS", + "GEOM/STB_MASS_CENTER" : "GEOM/Inspection/MASS_CENTER", + "GEOM/STB_INERTIA" : "GEOM/Inspection/INERTIA", + "GEOM/STB_NORMALE" : "GEOM/Inspection/NORMALE", + "GEOM/STB_BND_BOX" : "GEOM/Inspection/Dimensions/BND_BOX", + "GEOM/STB_MIN_DIST" : "GEOM/Inspection/Dimensions/MIN_DIST", + "GEOM/STB_MEASURE_ANGLE" : "GEOM/Inspection/Dimensions/MEASURE_ANGLE", + "GEOM/STB_MANAGE_DIMENSIONS" : "GEOM/Inspection/Dimensions/MANAGE_DIMENSIONS", + "GEOM/STB_ANNOTATION" : "GEOM/Inspection/ANNOTATION", + "GEOM/STB_EDIT_ANNOTATION" : "GEOM/Inspection/ANNOTATION/EDIT_ANNOTATION", + "GEOM/STB_DELETE_ANNOTATION" : "GEOM/Inspection/ANNOTATION/DELETE_ANNOTATION", + "GEOM/STB_TOLERANCE" : "GEOM/Inspection/TOLERANCE", + "GEOM/STB_WHAT_IS" : "GEOM/Inspection/WHAT_IS", + "GEOM/STB_CHECK" : "GEOM/Inspection/CHECK", + "GEOM/STB_CHECK_COMPOUND" : "GEOM/Inspection/CHECK_COMPOUND", + "GEOM/STB_GET_NON_BLOCKS" : "GEOM/Inspection/GET_NON_BLOCKS", + "GEOM/STB_CHECK_SELF_INTERSECTIONS" : "GEOM/Inspection/CHECK_SELF_INTERSECTIONS", + "GEOM/STB_FAST_CHECK_INTERSECTIONS" : "GEOM/Inspection/FAST_CHECK_INTERSECTIONS", + "GEOM/STB_SHAPE_STATISTICS" : "GEOM/Inspection/SHAPE_STATISTICS", + "GEOM/STB_MATERIALS_LIBRARY" : "GEOM/Tools/MATERIALS_LIBRARY", + "GEOM/STB_WIREFRAME" : "GEOM/View/DisplayMode/WIREFRAME", + "GEOM/STB_SHADING" : "GEOM/View/DisplayMode/SHADING", + "GEOM/STB_SHADING_WITH_EDGES" : "GEOM/View/DisplayMode/SHADING_WITH_EDGES", + "GEOM/STB_TEXTURE" : "GEOM/View/DisplayMode/TEXTURE", + "GEOM/STB_DISPLAY_ALL" : "GEOM/View/DISPLAY_ALL", + "GEOM/STB_ERASE_ALL" : "GEOM/View/ERASE_ALL", + "GEOM/STB_DISPLAY" : "GEOM/View/DISPLAY", + "GEOM/STB_VECTOR_MODE" : "GEOM/View/DisplayMode/VECTOR_MODE", + "GEOM/STB_VERTICES_MODE" : "GEOM/View/DisplayMode/VERTICES_MODE", + "GEOM/STB_NAME_MODE" : "GEOM/View/DisplayMode/NAME_MODE", + "GEOM/STB_VERTEX_SEL_ONLY" : "GEOM/Selection/VERTEX_SEL_ONLY", + "GEOM/STB_EDGE_SEL_ONLY" : "GEOM/Selection/EDGE_SEL_ONLY", + "GEOM/STB_WIRE_SEL_ONLY" : "GEOM/Selection/WIRE_SEL_ONLY", + "GEOM/STB_FACE_SEL_ONLY" : "GEOM/Selection/FACE_SEL_ONLY", + "GEOM/STB_SHELL_SEL_ONLY" : "GEOM/Selection/SHELL_SEL_ONLY", + "GEOM/STB_SOLID_SEL_ONLY" : "GEOM/Selection/SOLID_SEL_ONLY", + "GEOM/STB_COMPOUND_SEL_ONLY" : "GEOM/Selection/COMPOUND_SEL_ONLY", + "GEOM/STB_ALL_SEL_ONLY" : "GEOM/Selection/ALL_SEL_ONLY", + "GEOM/STB_DISPLAY_ONLY" : "GEOM/View/DISPLAY_ONLY", + "GEOM/STB_SHOW_ONLY_CHILDREN" : "GEOM/View/SHOW_ONLY_CHILDREN", + "GEOM/STB_BRING_TO_FRONT" : "GEOM/View/BRING_TO_FRONT", + "GEOM/STB_CLS_BRING_TO_FRONT" : "GEOM/View/CLS_BRING_TO_FRONT", + "GEOM/STB_ERASE" : "GEOM/View/ERASE", + "GEOM/STB_POP_WIREFRAME" : "GEOM/Selection/DisplayMode/POP_WIREFRAME", + "GEOM/STB_POP_SHADING" : "GEOM/Selection/DisplayMode/POP_SHADING", + "GEOM/STB_POP_SHADING_WITH_EDGES" : "GEOM/Selection/DisplayMode/POP_SHADING_WITH_EDGES", + "GEOM/STB_POP_TEXTURE" : "GEOM/Selection/DisplayMode/POP_TEXTURE", + "GEOM/STB_EDGE_WIDTH" : "GEOM/Selection/EDGE_WIDTH", + "GEOM/STB_ISOS_WIDTH" : "GEOM/Selection/ISOS_WIDTH", + "GEOM/STB_POP_VECTORS" : "GEOM/Selection/DisplayMode/POP_VECTORS", + "GEOM/STB_POP_VERTICES" : "GEOM/Selection/DisplayMode/POP_VERTICES", + "GEOM/STB_POP_SHOW_NAME" : "GEOM/Selection/DisplayMode/POP_SHOW_NAME", + "GEOM/STB_POP_DEFLECTION" : "GEOM/Selection/POP_DEFLECTION", + "GEOM/STB_POP_COLOR" : "GEOM/Selection/POP_COLOR", + "GEOM/STB_POP_SETTEXTURE" : "GEOM/Selection/POP_SETTEXTURE", + "GEOM/STB_POP_TRANSPARENCY" : "GEOM/Selection/POP_TRANSPARENCY", + "GEOM/STB_POP_ISOS" : "GEOM/Selection/POP_ISOS", + "GEOM/STB_POP_AUTO_COLOR" : "GEOM/Selection/POP_AUTO_COLOR", + "GEOM/STB_POP_DISABLE_AUTO_COLOR" : "GEOM/Selection/POP_DISABLE_AUTO_COLOR", + "GEOM/STB_POP_CREATE_GROUP" : "GEOM/Selection/POP_CREATE_GROUP", + "GEOM/STB_POP_EDIT_FIELD" : "GEOM/Selection/POP_EDIT_FIELD", + "GEOM/STB_POP_DISCLOSE_CHILDREN" : "GEOM/Selection/POP_DISCLOSE_CHILDREN", + "GEOM/STB_POP_CONCEAL_CHILDREN" : "GEOM/Selection/POP_CONCEAL_CHILDREN", + "GEOM/STB_POP_UNPUBLISH_OBJ" : "GEOM/Selection/POP_UNPUBLISH_OBJ", + "GEOM/STB_POP_PUBLISH_OBJ" : "GEOM/Selection/POP_PUBLISH_OBJ", + "GEOM/STB_POP_POINT_MARKER" : "GEOM/Selection/POP_POINT_MARKER", + "GEOM/STB_POP_MATERIAL_PROPERTIES" : "GEOM/Selection/POP_MATERIAL_PROPERTIES", + "GEOM/STB_POP_PREDEF_MATER_CUSTOM" : "GEOM/Selection/POP_PREDEF_MATER_CUSTOM", + "GEOM/STB_POP_CREATE_FOLDER" : "GEOM/Selection/POP_CREATE_FOLDER", + "GEOM/STB_POP_SORT_CHILD_ITEMS" : "GEOM/Selection/POP_SORT_CHILD_ITEMS", + "GEOM/STB_POP_SHOW_DEPENDENCY_TREE" : "GEOM/Selection/POP_SHOW_DEPENDENCY_TREE", + "GEOM/STB_POP_REDUCE_STUDY" : "GEOM/Selection/POP_REDUCE_STUDY", + "GEOM/STB_POP_SHOW_ALL_DIMENSIONS" : "GEOM/Selection/POP_SHOW_ALL_DIMENSIONS", + "GEOM/STB_POP_HIDE_ALL_DIMENSIONS" : "GEOM/Selection/POP_HIDE_ALL_DIMENSIONS", + "GEOM/STB_POP_SHOW_ALL_ANNOTATIONS" : "GEOM/Selection/POP_SHOW_ALL_ANNOTATIONS", + "GEOM/STB_POP_HIDE_ALL_ANNOTATIONS" : "GEOM/Selection/POP_HIDE_ALL_ANNOTATIONS" + } + } + ] +} \ No newline at end of file