"include ${PACKAGE_NAME}\n"
"include ${PACKAGE_NAME}-appli\n"
"#-----------------------------------------\n"
- "graph workspace 0 0 ${DOC_OUTPUT} \"none\" \"Package ${PACKAGE_NAME} documentation\"\n"
+ "graph ${PACKAGE_NAME} 0 0 ${DOC_OUTPUT} \"none\" \"Package ${PACKAGE_NAME} documentation\"\n"
#${BBTK_DOCUMENT_SCRIPTS_OUTPUT_PATH}/header.html
)
Program: bbtk
Module: $RCSfile: bbtkExecuter.cxx,v $ $
Language: C++
- Date: $Date: 2008/01/28 15:08:53 $
- Version: $Revision: 1.2 $
+ Date: $Date: 2008/01/28 15:34:37 $
+ Version: $Revision: 1.3 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
relative_link = false;
}
+
+ Package* p;
+ try
+ {
+ p = GetGlobalFactory()->GetPackage(nameblackbox);
+ }
+ catch (Exception e)
+ {
+ p = mPackage;
+ }
// Generating documentation-help of workspace
- mPackage->SetDocURL(filename_rootHtml);
- mPackage->SetDocRelativeURL(simplefilename_rootHtml);
+ p->SetDocURL(filename_rootHtml);
+ p->SetDocRelativeURL(simplefilename_rootHtml);
- mPackage->CreateHtmlPage(filename_rootHtml,"bbi","user package",custom_header,custom_title,detail,level,relative_link);
+ p->CreateHtmlPage(filename_rootHtml,"bbi","user package",custom_header,custom_title,detail,level,relative_link);
std::string page = filename_rootHtml;
/*