Creation of the operation manager to provide the operations stack.
return myOperationId;
}
-/*!
- * \brief Replied whether the operation should be commited after the start, or the operation itself
- * do that. The default realization provides the check by the operation having the xml prepresentation
- * @return the boolean value
- */
-bool ModuleBase_Operation::isPerformedImmediately() const
-{
- return xmlRepresentation().isEmpty();
-}
-
std::shared_ptr<ModelAPI_Feature> ModuleBase_Operation::feature() const
{
return myFeature;
// Operation processing.
virtual QString operationId() const;
- virtual bool isPerformedImmediately() const;
-
std::shared_ptr<ModelAPI_Feature> feature() const;
OperationState state() const;
ModuleBase_PropPanelOperation(const QString& theId = "", QObject* parent = 0);
virtual ~ModuleBase_PropPanelOperation();
+ /*!
+ * \brief Replied whether the operation should be commited after the start, or the operation itself
+ * do that. The default realization provides the check by the operation having the xml prepresentation
+ * @return the boolean value
+ */
+ virtual bool isPerformedImmediately() const
+ {
+ return xmlRepresentation().isEmpty();
+ }
/*!
* \brief Returns XML representation of the operation's widget.
* \return XML QString
if(aOperation->xmlRepresentation().isEmpty()) { //!< No need for property panel
//myPartSetModule->connectToPropertyPanel(aOperation);
} else {
- connectToPropertyPanel(aOperation);
+ connectWithOperation(aOperation);
QWidget* aPropWidget = myMainWindow->findChild<QWidget*>(XGUI::PROP_PANEL_WDG);
qDeleteAll(aPropWidget->children());
}