Salome HOME
Updated copyright comment
[modules/shaper.git] / src / XGUI / XGUI_ModuleConnector.h
index 6080c893ea4e1cf5353838d890c4b4838b9607c8..2e8dd2ab3ca3cd235fbf7742a652142bea1e622a 100644 (file)
@@ -1,4 +1,4 @@
-// Copyright (C) 2014-2019  CEA/DEN, EDF R&D
+// Copyright (C) 2014-2024  CEA, EDF
 //
 // This library is free software; you can redistribute it and/or
 // modify it under the terms of the GNU Lesser General Public
@@ -131,6 +131,23 @@ Q_OBJECT
   //! Returns workshop
   XGUI_Workshop* workshop() const { return myWorkshop; }
 
+  //! The methods applys current defined selection modes to given AIS presentation.
+  //! The AIS presentation has to be already displayed. After activation viewer has to be updated
+  //! \param theAIS the object which has to be activated
+  virtual void applyCurrentSelectionModes(const AISObjectPtr& theAIS);
+
+  //! Undo last command
+  virtual void undo();
+
+  //! Set enabled state of cancel button in property panel
+  virtual void setCancelEnabled(bool toEnable);
+
+  //! Returns current state of cancel button
+  virtual bool isCancelEnabled() const;
+
+  //! Show help of a current operation
+  virtual void showHelpPage(const QString& thePage) const;
+
 private:
   QObjectPtrList activeObjects(const QObjectPtrList& theObjList) const;