VDBAbstractPresenter.st
changeset 219 6ab12a17ca3b
parent 110 7150377a44e1
child 224 c828bd96ba14
equal deleted inserted replaced
218:0d21b4d593a6 219:6ab12a17ca3b
     1 "
     1 "
     2 jv:vdb - Visual / VM Debugger
     2 jv:vdb - Visual / VM Debugger
     3 Copyright (C) 2015-now Jan Vrany
     3 Copyright (C) 2015-now Jan Vrany
       
     4 Copyright (C) 2021 LabWare
     4 
     5 
     5 This software is licensed under 'Creative Commons Attribution-NonCommercial 4.0 International License'
     6 This software is licensed under 'Creative Commons Attribution-NonCommercial 4.0 International License'
     6 
     7 
     7 You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/
     8 You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/
     8 "
     9 "
    21 
    22 
    22 copyright
    23 copyright
    23 "
    24 "
    24 jv:vdb - Visual / VM Debugger
    25 jv:vdb - Visual / VM Debugger
    25 Copyright (C) 2015-now Jan Vrany
    26 Copyright (C) 2015-now Jan Vrany
       
    27 Copyright (C) 2021 LabWare
    26 
    28 
    27 This software is licensed under 'Creative Commons Attribution-NonCommercial 4.0 International License'
    29 This software is licensed under 'Creative Commons Attribution-NonCommercial 4.0 International License'
    28 
    30 
    29 You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/
    31 You may find a full license text in LICENSE.txt or at http://creativecommons.org/licenses/by-nc/4.0/
    30 "
    32 "
   109 ! !
   111 ! !
   110 
   112 
   111 !VDBAbstractPresenter methodsFor:'change & update'!
   113 !VDBAbstractPresenter methodsFor:'change & update'!
   112 
   114 
   113 updateChildren
   115 updateChildren
   114     children notNil ifTrue:[ 
   116     "Update children from model.
   115         self children:self fetchChildren  
   117 
       
   118      Default implementation here re-creates all children. Subclasses may
       
   119      override this to provide custom logic in order to minimize changes to
       
   120      the tree (or avoid changes alltogether when nothing has changed).
       
   121     "
       
   122     children notNil ifTrue: [ 
       
   123         self children: self fetchChildren
   116     ].
   124     ].
   117 
   125 
   118     "Created: / 21-09-2014 / 23:43:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
   126     "Created: / 21-09-2014 / 23:43:20 / Jan Vrany <jan.vrany@fit.cvut.cz>"
       
   127     "Modified: / 17-05-2021 / 16:21:14 / Jan Vrany <jan.vrany@labware.com>"
       
   128     "Modified (format): / 17-05-2021 / 19:42:15 / Jan Vrany <jan.vrany@labware.com>"
   119 ! !
   129 ! !
   120 
   130 
   121 !VDBAbstractPresenter methodsFor:'displaying'!
   131 !VDBAbstractPresenter methodsFor:'displaying'!
   122 
   132 
   123 displayString
   133 displayString