author | Jan Vrany <jan.vrany@fit.cvut.cz> |
Sun, 05 Feb 2012 01:49:41 +0000 | |
branch | jv |
changeset 12144 | 18c25ec50d96 |
parent 12128 | a7ff7d66ee85 |
child 12269 | 79f87eee62e5 |
permissions | -rw-r--r-- |
" COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague All Rights Reserved Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. " "{ Package: 'stx:libtool' }" "{ NameSpace: Tools }" ChangeList subclass:#HierarchicalChangeList instanceVariableNames:'' classVariableNames:'' poolDictionaries:'' category:'Interface-Browsers-ChangeSet' ! !HierarchicalChangeList class methodsFor:'documentation'! copyright " COPYRIGHT (c) 2010 by Jan Vrany, SWING Research Group. CTU in Prague All Rights Reserved Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the 'Software'), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. " ! ! !HierarchicalChangeList class methodsFor:'interface specs'! windowSpec "This resource specification was automatically generated by the UIPainter of ST/X." "Do not manually edit this!! If it is corrupted, the UIPainter may not be able to read the specification." " UIPainter new openOnClass:Tools::HierarchicalChangeList andSelector:#windowSpec Tools::HierarchicalChangeList new openInterface:#windowSpec Tools::HierarchicalChangeList open " <resource: #canvas> ^ #(FullSpec name: windowSpec window: (WindowSpec label: 'ChangeList' name: 'ChangeList' min: (Point 10 10) bounds: (Rectangle 0 0 300 300) ) component: (SpecCollection collection: ( (HierarchicalListViewSpec name: 'List' layout: (LayoutFrame 0 0 0 0 0 1 0 1) model: selectionHolder menu: menuHolder hasHorizontalScrollBar: true hasVerticalScrollBar: true listModel: listHolder multipleSelectOk: true useIndex: false highlightMode: line showLines: false useDefaultIcons: false postBuildCallback: postBuildListView: ) (InputFieldSpec name: 'Filter' layout: (LayoutFrame 0 0 0 0 0 1 26 0) initiallyInvisible: true model: filterPatternHolder immediateAccept: true acceptOnLeave: false acceptOnReturn: false acceptOnTab: false acceptOnPointerLeave: false emptyFieldReplacementText: 'Search Filter...' usePreferredHeight: true useDynamicPreferredHeight: true postBuildCallback: postBuildFilterView: ) ) ) ) "Modified: / 20-12-2011 / 10:31:17 / Jan Vrany <jan.vrany@fit.cvut.cz>" "Modified (format): / 20-12-2011 / 16:20:54 / Jan Vrany <jan.vrany@fit.cvut.cz>" ! ! !HierarchicalChangeList methodsFor:'aspects'! listHolder "return/create the 'changeList' value holder (automatically generated)" listHolder isNil ifTrue:[ listHolder := (HierarchicalList new) showRoot:false; application: self; yourself ]. ^ listHolder "Created: / 25-07-2009 / 23:34:54 / Jan Vrany <vranyj1@fel.cvut.cz>" ! ! !HierarchicalChangeList methodsFor:'private'! updateList |inGenerator changeset root| inGenerator := self inGeneratorHolder value. changeset := inGenerator ifNil:[ #() ] ifNotNil:[ inGenerator ]. root := self listEntryFor: (CompositeChange name:'Change set' changes:changeset). root children do:[:e|e expand]. self listHolder root:root "Modified: / 04-12-2011 / 15:13:42 / Jan Vrany <jan.vrany@fit.cvut.cz>" ! ! !HierarchicalChangeList class methodsFor:'documentation'! version_CVS ^ '§Header: /cvs/stx/stx/libtool/Tools__HierarchicalChangeList.st,v 1.7 2012/01/24 22:18:49 vrany Exp §' ! version_SVN ^ '$Id: Tools__HierarchicalChangeList.st 7854 2012-01-30 17:49:41Z vranyj1 $' ! !