- QStringList aResList;
-
- Handle(HYDROData_Document) aDocument = HYDROData_Document::Document( this );
- if ( aDocument.IsNull() )
- return aResList;
-
- QString aDocName = aDocument->GetDocPyName();
- QString aDigueName = GetName();
-
- aResList << QString( "%1 = %2.CreateObject( %3 );" )
- .arg( aDigueName ).arg( aDocName ).arg( PYTHON_DIGUE_ID );
- aResList << QString( "%1.SetName( \"%2\" );" )
- .arg( aDigueName ).arg( aDigueName );
- aResList << QString( "" );
-
- // TODO
-
- return aResList;