aGuiObj->setIsValid( aProfileObj->IsValid() );
}
+ else if ( anObjectKind == KIND_CHANNEL || anObjectKind == KIND_DIGUE )
+ {
+ Handle(HYDROData_Channel) aChannelObj =
+ Handle(HYDROData_Channel)::DownCast( aDataObj );
+
+ Handle(HYDROData_Profile) aProfile = aChannelObj->GetProfile();
+ Handle(HYDROData_Polyline3D) aGuideLine = aChannelObj->GetGuideLine();
+
+ createObject( aGuiObj, aProfile, aGuiObj->entry(), false );
+ createObject( aGuiObj, aGuideLine, aGuiObj->entry(), false );
+ }
}
void HYDROGUI_DataModel::buildCaseTree( SUIT_DataObject* theParent, Handle(HYDROData_CalculationCase) theCase )