X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FHYDROGUI%2FHYDROGUI_SetColorOp.h;h=08729bd39551bc46c1dbdee83083bf08adedfbc1;hb=81c9f5cdf82909d0aebd2c491c50fa7516cc80b7;hp=10d02b9911320e673c2b883cdacb0627c763b696;hpb=16f06b749441da906280085ce23c213b175a49b4;p=modules%2Fhydro.git diff --git a/src/HYDROGUI/HYDROGUI_SetColorOp.h b/src/HYDROGUI/HYDROGUI_SetColorOp.h index 10d02b99..08729bd3 100644 --- a/src/HYDROGUI/HYDROGUI_SetColorOp.h +++ b/src/HYDROGUI/HYDROGUI_SetColorOp.h @@ -25,7 +25,7 @@ #include "HYDROGUI_Operation.h" -#include +#include class HYDROGUI_ColorDlg; @@ -37,15 +37,19 @@ public: HYDROGUI_SetColorOp( HYDROGUI_Module* theModule ); virtual ~HYDROGUI_SetColorOp(); + + static bool CanObjectBeColored( const Handle(HYDROData_Entity)& theObject ); + protected: virtual void startOperation(); - virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg ); + virtual bool processApply( int& theUpdateFlags, QString& theErrorMsg, + QStringList& theBrowseObjectsEntries ); private: HYDROGUI_ColorDlg* myColorDlg; - Handle(HYDROData_Object) myEditedObject; + Handle(HYDROData_Entity) myEditedObject; }; #endif \ No newline at end of file