"
COPYRIGHT (c) 2006 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
"
"{ Package: 'stx:libtool' }"
"{ NameSpace: Tools }"
NamespaceList subclass:#NamespaceFilter
instanceVariableNames:'selectedNamespacesHolder'
classVariableNames:''
poolDictionaries:''
category:'Interface-Browsers-New'
!
!NamespaceFilter class methodsFor:'documentation'!
copyright
"
COPYRIGHT (c) 2006 by eXept Software AG
All Rights Reserved
This software is furnished under a license and may be used
only in accordance with the terms of that license and with the
inclusion of the above copyright notice. This software may not
be provided or otherwise made available to, or used by, any
other person. No title to or ownership of the software is
hereby transferred.
"
! !
!NamespaceFilter methodsFor:'aspects'!
selectedNamespaces
"return/create the 'selectedNamespacesHolder' value holder (automatically generated)"
selectedNamespacesHolder isNil ifTrue:[
selectedNamespacesHolder := ValueHolder new.
selectedNamespacesHolder addDependent:self.
].
^ selectedNamespacesHolder
"Created: / 04-05-2011 / 20:17:18 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!NamespaceFilter methodsFor:'change & update'!
update:something with:aParameter from:changedObject
changedObject == selectedNamespacesHolder ifTrue:
[
self selectionHolder value:
((selectedNamespacesHolder value ? #()) collect:[:e|e string]).
^self
].
^super update:something with:aParameter from:changedObject
"Created: / 04-05-2011 / 20:14:12 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!NamespaceFilter methodsFor:'private'!
listEntryFor: namespaceName
^LabelAndIcon label: namespaceName icon: self class uncheckedIcon
"Created: / 04-05-2011 / 20:01:49 / Jan Vrany <jan.vrany@fit.cvut.cz>"
! !
!NamespaceFilter class methodsFor:'documentation'!
version_CVS
^ '$Header: /cvs/stx/stx/libtool/Tools__NamespaceFilter.st,v 1.1 2011-07-01 14:16:08 cg Exp $'
!
version_SVN
^ '§Id§'
! !