SelectionBrowser.st
author tz
Fri, 16 Jan 1998 19:06:44 +0100
changeset 413 ac37b2a972ff
parent 402 246e36541b1b
child 504 1ff52096d1d3
permissions -rw-r--r--
select first column item after opening

"
 COPYRIGHT (c) 1997 by eXept Software AG / Thomas Zwick
              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 / Thomas Zwick
              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.
"
!

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$'
! !