/// Sets the focus to the last control of the property panel and activates selection
/// of the first widget to can select first value of the next create operation
/// \param thePreviousAttributeID an index of the previous attribute to set focus to this widget
- void startInternalEdit(const std::string& thePreviousAttributeID);
+ /// \return true if it is started
+ bool startInternalEdit(const std::string& thePreviousAttributeID);
+
+ /// Disconnects this manager from operation signals, deactivate selection of the first control
+ /// in the viewer.
+ void beforeStopInternalEdit();
/// Commits the current operation and launches a new with the commited operation feature index
void restartOperation();
+ /// Creates an internal feature and controls to process it
+ void createInternalFeature();
+
+ /// A pair method for an internal creation to remove it and clear all created controls
+ void deleteInternalFeature();
+
/// Breaks sequense of automatically resterted operations
void resetFlags();
RestartingMode myRestartingMode; /// automatical restarting mode flag
bool myIsFlagsBlocked; /// true when reset of flags should not be perfromed
bool myIsInternalEditOperation; /// true when the 'internal' edit is started
+
+ FeaturePtr myInternalFeature;
+ QWidget* myInternalWidget;
+ ModuleBase_ModelWidget* myInternalActiveWidget;
+ std::string myNoMoreWidgetsAttribute;
};
#endif