Import 2017-06-07 23:51:09: master 3a2091c9

Author Committer Branch Timestamp Parent
jcfr jcfr master 2015-04-03 00:23:39 master d2737dc4
Changeset

ENH: Extend module API with "widgetRepresentationCreationEnabled" property

By default, (1) all modules are expected to be able to create
representations and (b) module with representation creation
disabled will be hidden (not visible in the module selector)
if the property was False at loading time.

In the case of scripted module, if not widget class could be found when
loading the main script, the property is set to False.

git-svn-id: http://svn.slicer.org/Slicer4/trunk@24152 3bd1e089-480b-0410-8dfb-8563597acbee

mod - Base/QTCore/Testing/Cxx/qSlicerAbstractCoreModuleTest1.cxx Diff File
mod - Base/QTCore/qSlicerAbstractCoreModule.cxx Diff File
mod - Base/QTCore/qSlicerAbstractCoreModule.h Diff File
mod - Base/QTGUI/qSlicerScriptedLoadableModule.cxx Diff File