HYDROGUI_Operation( HYDROGUI_Module* theModule );
virtual ~HYDROGUI_Operation();
+ void setName( const QString& theName );
+ const QString& getName() const;
+
HYDROGUI_InputPanel* inputPanel() const;
SUIT_SelectionMgr* selectionMgr() const;
HYDROGUI_Module* module() const;
virtual void abortOperation();
virtual void commitOperation();
- virtual HYDROGUI_InputPanel* createInputPanel() const = 0;
+ virtual HYDROGUI_InputPanel* createInputPanel() const;
+
+ virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg );
+ virtual void processCancel();
Handle_HYDROData_Document doc() const;
- Handle_HYDROData_Object FindObjectByName( const QString& theName, int theKind ) const;
protected slots:
- virtual void OnApply();
- virtual void OnCancel();
+ virtual void onApply();
+ virtual void onCancel();
private:
HYDROGUI_Module* myModule;
HYDROGUI_InputPanel* myPanel;
+ QString myName;
};
#endif