View Issue Details

IDProjectCategoryView StatusLast Update
0002922Slicer4Core: Extensionspublic2014-09-16 19:56
Reporterlassoan Assigned Tojcfr  
PrioritynormalSeverityminorReproducibilityalways
Status acknowledgedResolutionopen 
Product Version 
Target VersionFixed in Version 
Summary0002922: (Scripted|Loadable)ExtensionTemplate don't have parameter node
Description

It's essential to have a parameter node in all (scripted|loadable) modules to be able to persistently store and restore the state of the module.

Unfortunately, the (Scripted|Loadable)ExtensionTemplate template doesn't include a parameter node. It is bad, because all new developers start from this template and learn a poor practice.

Additional Information

Related discussion: https://www.assembla.com/spaces/slicerrt/tickets/116-create-a-module-for-dvh-comparison?comment=517859203#comment:517859203

Tagshelp-wanted

Relationships

related to 0002260 acknowledgedjcfr Update Module template to include widget library 

Activities

jcfr

jcfr

2013-02-07 13:10

administrator   ~0007839

Good point. I guess "TractographyInteractiveSeeding" or "CropVolume" would be example we could inspire from.

jcfr

jcfr

2014-09-16 19:56

administrator   ~0012516

Thanks to Andras. Scripted template has been updated to include utility method allowing to easily work with parameter node.
See http://viewvc.slicer.org/viewvc.cgi/Slicer4?view=revision&revision=23687

Issue History

Date Modified Username Field Change
2013-02-07 11:44 lassoan New Issue
2013-02-07 11:44 lassoan Status new => assigned
2013-02-07 11:44 lassoan Assigned To => jcfr
2013-02-07 13:10 jcfr Note Added: 0007839
2013-02-07 13:10 jcfr Target Version => Slicer 4.3.0
2013-02-07 13:10 jcfr Tag Attached: I-want-to-contribute
2013-09-02 13:09 jcfr Target Version Slicer 4.3.0 => Slicer 4.3.1
2013-09-17 11:23 jcfr Target Version Slicer 4.3.1 => Slicer 4.3.2
2014-03-06 10:15 nicole Target Version Slicer 4.3.2 => Slicer 4.4.0
2014-03-07 10:07 jcfr Relationship added related to 0002260
2014-05-12 23:20 jcfr Tag Renamed I-want-to-contribute => help-wanted
2014-05-12 23:21 jcfr Status assigned => acknowledged
2014-05-12 23:21 jcfr Target Version Slicer 4.4.0 =>
2014-05-22 07:57 jcfr Summary LoadableExtensionTemplate doesn't have parameter node => (Scripted|Loadable)ExtensionTemplate don't have parameter node
2014-05-22 07:57 jcfr Description Updated
2014-05-22 07:59 jcfr Additional Information Updated
2014-09-16 19:56 jcfr Note Added: 0012516