Salome HOME
Issue #18755 (Tuleap): Do not process key events if a modal window is displayed
[modules/shaper.git] / src / PythonAddons / addons_Features.py
index 1bb7354a99c9d5f454ff06fe04c9a9e2af30b8a2..bdafa15175d1ee117315bd3e8a4c34e96da22fd6 100644 (file)
@@ -23,7 +23,7 @@
 import ModelAPI
 from macros.rectangle.feature import SketchPlugin_Rectangle
 from macros.compoundVertices.feature import compoundVertices
-from macros.box.feature import BoxFeature
+from macros.importParameters.feature import importParameters
 
 
 class PythonFeaturesPlugin(ModelAPI.ModelAPI_Plugin):
@@ -47,8 +47,8 @@ class PythonFeaturesPlugin(ModelAPI.ModelAPI_Plugin):
             aFeature = SketchPlugin_Rectangle().__disown__()
         elif theFeatureID == compoundVertices.ID():
             aFeature = compoundVertices().__disown__()
-        elif theFeatureID == BoxFeature.ID():
-            aFeature = BoxFeature().__disown__()
+        elif theFeatureID == importParameters.ID():
+            aFeature = importParameters().__disown__()
         else:
             raise Exception("No such feature %s" % theFeatureID)