class AppElements_Command;
class AppElements_Workbench;
-class XGUI_SelectionMgr;
+class XGUI_ActionsMgr;
+class XGUI_ContextMenuMgr;
class XGUI_Displayer;
+class XGUI_ErrorDialog;
+class XGUI_ErrorMgr;
+class XGUI_ModuleConnector;
+class XGUI_ObjectsBrowser;
class XGUI_OperationMgr;
+class XGUI_PropertyPanel;
class XGUI_SalomeConnector;
-class XGUI_ObjectsBrowser;
-class XGUI_ActionsMgr;
-class XGUI_ErrorDialog;
class XGUI_SalomeViewer;
+class XGUI_SelectionMgr;
class XGUI_ViewerProxy;
-class XGUI_PropertyPanel;
-class XGUI_ContextMenuMgr;
-class XGUI_ModuleConnector;
class XGUI_WorkshopListener;
-class ModuleBase_Operation;
class ModuleBase_IModule;
class ModuleBase_IViewer;
+class ModuleBase_Operation;
class QWidget;
class QDockWidget;
//! objects features appear. If the user chose do not continue, the deletion is not performed
//! \return the success of the delete
bool deleteFeatures(const QObjectPtrList& theList,
- const std::set<FeaturePtr>& theIgnoredFeatures,
+ const std::set<FeaturePtr>& theIgnoredFeatures = std::set<FeaturePtr>(),
QWidget* theParent = 0,
const bool theAskAboutDeleteReferences = false);
/// Update of commands status
void updateCommandStatus();
+ // Update enable state of accept all button. It is enabled if the the parent operation is
+ // valid and there are modifications in sesstion(undo can be performed).
+ void updateCompositeActionState();
+
/// update history list (undo/redo commands)
void updateHistory();
private:
AppElements_MainWindow* myMainWindow;
ModuleBase_IModule* myModule;
+ XGUI_ErrorMgr* myErrorMgr;
XGUI_ObjectsBrowser* myObjectBrowser;
XGUI_PropertyPanel* myPropertyPanel;
XGUI_SelectionMgr* mySelector;