Slicer: 2145-support-for-installing-extension-from-file 59c17848

Author Committer Branch Timestamp Parent
naucoin naucoin 2145-support-for-installing-extension-from-file 2013-09-24 19:13:38 2145-support-for-installing-extension-from-file e5841531
Changeset

COMP: code clean up to unify setting the active place node

Added a utility function in the logic to set the active place node,
matching the get active place node id method. Call it where the
selection node was being accessed, and make sure that the testing
and setting of the ActivePlaceNodeClassName and ActivePlaceNodeID
are done only when there is a change and with the Reference call
so that events are triggered.
Added a test of the new SetActiveListID method.

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

mod - Modules/Loadable/Markups/Logic/vtkSlicerMarkupsLogic.cxx Diff File
mod - Modules/Loadable/Markups/Logic/vtkSlicerMarkupsLogic.h Diff File
mod - Modules/Loadable/Markups/Testing/Cxx/vtkSlicerMarkupsLogicTest1.cxx Diff File
mod - Modules/Loadable/Markups/qSlicerMarkupsModuleWidget.cxx Diff File