SelectionBrowser.st
author ca
Thu, 29 Jan 1998 10:14:28 +0100
changeset 514 5ac07e96e448
parent 504 1ff52096d1d3
child 619 36c9d07f7dc3
permissions -rw-r--r--
support of UIPainter

"
 COPYRIGHT (c) 1997 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.
"



SimpleDialog subclass:#SelectionBrowser
	instanceVariableNames:'title'
	classVariableNames:''
	poolDictionaries:''
	category:'Interface-Advanced-Tools'
!

SelectionBrowser class instanceVariableNames:'lastSelection'

"
 The following class instance variables are inherited by this class:

	SimpleDialog - 
	ApplicationModel - ClassResources
	Model - 
	Object - 
"
!

!SelectionBrowser class methodsFor:'documentation'!

copyright
"
 COPYRIGHT (c) 1997 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.
"


!

documentation
"
    documentation to be added.

    [author:]
       Thomas Zwick
"
!

history
    "Created: / 10.1.1998 / 11:00:51 / tz"
! !

!SelectionBrowser class methodsFor:'accessing'!

label

    |label|
    label := ''.
    self name do:
    [:c|
        c isUppercase ifTrue: [label := label, $ ].
        label := label, c
    ].
    ^label trimBlanks

!

lastSelection

    ^lastSelection
!

lastSelection: aString

    lastSelection := aString
! !

!SelectionBrowser methodsFor:'accessing'!

title: aString

    title := aString

! !

!SelectionBrowser methodsFor:'initialization'!

postBuildWith:aBuilder

    builder window label: title ? self class label.

    ^super postBuildWith:aBuilder

! !

!SelectionBrowser class methodsFor:'documentation'!

version
    ^ '$Header$'
! !