+ std::string aWType = myWidgetApi->widgetType();
+ if (aWType == NODE_FEATURE) {
+ // if XML definition of the feature contains the next key, the widgets should not be created,
+ // but a specific panel should be made. However, to provide persistent of the panel values,
+ // we need to get into the panel the feature of the operation. As a result this panel should
+ // be created after the feature creating(create operation). The method setPanel() of this
+ // class is used for this. Here, we just return to avoid the widgets creation.
+ std::string aPanelName = myWidgetApi->getProperty(PROPERTY_PANEL_ID);
+ if (!aPanelName.empty())
+ return;
+ }
+