( anObject->GetKind() == KIND_POLYLINE ) ||
( anObject->GetKind() == KIND_IMMERSIBLE_ZONE ) ||
( anObject->GetKind() == KIND_REGION ) ||
+ ( anObject->GetKind() == KIND_BATHYMETRY ) ||
( anObject->GetKind() == KIND_ZONE ) ||
( anObject->GetKind() == KIND_OBSTACLE ) ) )
{
}
// Get selection
- HYDROGUI_DataModel* aModel = theModule->getDataModel();
-
SUIT_SelectionMgr* aSelectionMgr = theModule->getApp()->selectionMgr();
SUIT_DataOwnerPtrList anOwners;
aSelectionMgr->selected( anOwners );
QString HYDROGUI_Tool::GenerateObjectName( HYDROGUI_Module* theModule,
const QString& thePrefix,
- const QStringList& theUsedNames )
+ const QStringList& theUsedNames,
+ const bool theIsTryToUsePurePrefix)
{
Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( theModule->getStudyId() );
- return HYDROData_Tool::GenerateObjectName( aDocument, thePrefix, theUsedNames );
+ return HYDROData_Tool::GenerateObjectName( aDocument, thePrefix, theUsedNames, theIsTryToUsePurePrefix );
}
size_t HYDROGUI_Tool::GetActiveViewId( HYDROGUI_Module* theModule,