+bool HYDROGUI_DigueOp::processApply( int& theUpdateFlags,
+ QString& theErrorMsg,
+ QStringList& theBrowseObjectsEntries )
+{
+ if ( !HYDROGUI_ChannelOp::processApply( theUpdateFlags, theErrorMsg, theBrowseObjectsEntries ) )
+ return false;
+
+ if ( !myIsEdit )
+ {
+ myEditedObject->SetFillingColor( HYDROData_Digue::DefaultFillingColor() );
+ myEditedObject->SetBorderColor( HYDROData_Digue::DefaultBorderColor() );
+ }
+
+ return true;
+}
+