From: vsv Date: Tue, 2 Dec 2014 12:29:02 +0000 (+0300) Subject: GUI for placement operation X-Git-Tag: V_0.6.0^2~39 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=bf566e76aee5667a819b613e625c18fb61a576f4;p=modules%2Fshaper.git GUI for placement operation --- diff --git a/src/FeaturesPlugin/CMakeLists.txt b/src/FeaturesPlugin/CMakeLists.txt index 406032e87..3fd916de3 100644 --- a/src/FeaturesPlugin/CMakeLists.txt +++ b/src/FeaturesPlugin/CMakeLists.txt @@ -22,6 +22,7 @@ SET(XML_RESOURCES extrusion_widget.xml boolean_widget.xml group_widget.xml + placement_widget.xml ) INCLUDE_DIRECTORIES( diff --git a/src/FeaturesPlugin/FeaturesPlugin_Plugin.cpp b/src/FeaturesPlugin/FeaturesPlugin_Plugin.cpp index 681479032..cd1ceb219 100644 --- a/src/FeaturesPlugin/FeaturesPlugin_Plugin.cpp +++ b/src/FeaturesPlugin/FeaturesPlugin_Plugin.cpp @@ -3,6 +3,7 @@ #include #include #include +#include #include @@ -29,6 +30,8 @@ FeaturePtr FeaturesPlugin_Plugin::createFeature(string theFeatureID) return FeaturePtr(new FeaturesPlugin_Boolean); } else if (theFeatureID == FeaturesPlugin_Group::ID()) { return FeaturePtr(new FeaturesPlugin_Group); + } else if (theFeatureID == FeaturesPlugin_Placement::ID()) { + return FeaturePtr(new FeaturesPlugin_Placement); } // feature of such kind is not found return FeaturePtr(); diff --git a/src/FeaturesPlugin/placement_widget.xml b/src/FeaturesPlugin/placement_widget.xml new file mode 100644 index 000000000..998b27258 --- /dev/null +++ b/src/FeaturesPlugin/placement_widget.xml @@ -0,0 +1,16 @@ + + + + diff --git a/src/FeaturesPlugin/plugin-Features.xml b/src/FeaturesPlugin/plugin-Features.xml index 3c2dcc0d3..cbe584eab 100644 --- a/src/FeaturesPlugin/plugin-Features.xml +++ b/src/FeaturesPlugin/plugin-Features.xml @@ -8,7 +8,7 @@ - +