SelectionBrowser.st
author Claus Gittinger <cg@exept.de>
Mon, 02 Feb 1998 13:44:17 +0100
changeset 543 e3f2bf2dfb59
parent 504 1ff52096d1d3
child 619 36c9d07f7dc3
permissions -rw-r--r--
eliminated use of Structure - added private ResizeData class instead

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