+ /// Returns widget, that has the given attribute index
+ /// \param theAttributeId an attribute from XML
+ virtual ModuleBase_ModelWidget* modelWidget(const std::string& theAttributeId) const;
+
+ /// Removes all widgets in the widget area of the property panel
+ virtual void cleanContent() = 0;
+
+ /// Editing mode depends on mode of current operation. This value is defined by it.
+ /// \param isEditing state of editing mode flag
+ virtual void setEditingMode(bool isEditing) { myIsEditing = isEditing; }
+
+ /// \return State of editing mode flag
+ bool isEditingMode() const { return myIsEditing; }
+
+ /// Set focus on the Ok button
+ virtual void setFocusOnOkButton() = 0;
+
+ /// Set Enable/Disable state of Cancel button
+ /// \param theEnabled Enable/Disable state of Cancel button
+ virtual void setCancelEnabled(bool theEnabled) = 0;
+
+ /// \return Enable/Disable state of Cancel button
+ virtual bool isCancelEnabled() const = 0;
+
+ /// Returns widget processed by preselection
+ virtual ModuleBase_ModelWidget* preselectionWidget() const = 0;
+
+ /// Sets widget processed by preselection
+ virtual void setPreselectionWidget(ModuleBase_ModelWidget* theWidget) = 0;
+
+ /// Returns the first widget, where canAcceptFocus returns true
+ /// \return a widget or null
+ ModuleBase_ModelWidget* findFirstAcceptingValueWidget();
+
+ /// The method is called on accepting of operation
+ virtual void onAcceptData() = 0;
+
+ /// Returns True if data of its feature was modified during operation
+ virtual bool isModified() const;
+
+ /// Returns the first widget, where canAcceptFocus returns true
+ /// \return a widget or null
+ static ModuleBase_ModelWidget* findFirstAcceptingValueWidget(
+ const QList<ModuleBase_ModelWidget*>& theWidgets);
+