2 #ifndef HYDROGUI_OPERATION_HEADER
3 #define HYDROGUI_OPERATION_HEADER
6 #include <LightApp_Operation.h>
9 class HYDROGUI_InputPanel;
10 class SUIT_SelectionMgr;
11 class Handle_HYDROData_Document;
12 class Handle_HYDROData_Object;
14 class HYDROGUI_Operation : public LightApp_Operation
19 HYDROGUI_Operation( HYDROGUI_Module* theModule );
20 virtual ~HYDROGUI_Operation();
22 HYDROGUI_InputPanel* inputPanel() const;
23 SUIT_SelectionMgr* selectionMgr() const;
24 HYDROGUI_Module* module() const;
27 virtual void startOperation();
28 virtual HYDROGUI_InputPanel* createInputPanel() const = 0;
30 Handle_HYDROData_Document doc() const;
31 Handle_HYDROData_Object FindObjectByName( const QString& theName, int theKind ) const;
34 virtual void OnApply();
35 virtual void OnCancel();
38 HYDROGUI_Module* myModule;
39 HYDROGUI_InputPanel* myPanel;