FilenameComboBoxView.st
author Claus Gittinger <cg@exept.de>
Fri, 06 May 2016 04:54:44 +0200
changeset 5071 976ed2a22e27
parent 3250 e016b4cd8e65
child 5175 aecc83695a41
permissions -rw-r--r--
#FEATURE by cg class: DoWhatIMeanSupport changed: #codeCompletionForMessage:into: #findNodeForInterval:in:allowErrors:mustBeMethod:mustBeExpression: #valueOfNode:
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2110
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
     1
"
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
     2
 COPYRIGHT (c) 2002 by eXept Software AG 
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
     3
              All Rights Reserved
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
     4
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
     5
 This software is furnished under a license and may be used
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
     6
 only in accordance with the terms of that license and with the
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
     8
 be provided or otherwise made available to, or used by, any
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
     9
 other person.  No title to or ownership of the software is
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    10
 hereby transferred.
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    11
"
2109
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libwidg2' }"
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
ComboBoxView subclass:#FilenameComboBoxView
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	category:'Views-Interactors'
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
!
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
2110
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    21
!FilenameComboBoxView class methodsFor:'documentation'!
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    22
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    23
copyright
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    24
"
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    25
 COPYRIGHT (c) 2002 by eXept Software AG 
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    26
              All Rights Reserved
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    27
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    28
 This software is furnished under a license and may be used
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    29
 only in accordance with the terms of that license and with the
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    31
 be provided or otherwise made available to, or used by, any
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    32
 other person.  No title to or ownership of the software is
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    33
 hereby transferred.
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    34
"
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    35
!
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    36
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    37
documentation
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    38
"
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    39
    Like A ComboBoxView, but does fileNameCompletion when the Tab key is hit.
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    40
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    41
    [author:]
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    42
        Claus Gittinger
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    43
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    44
    [see also:]
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    45
        ComboBoxView
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    46
        FilenameEditField
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    47
"
3250
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    48
!
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    49
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    50
examples
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    51
"
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    52
                                                                        [exBegin]
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    53
     |top b|
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    54
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    55
     top := StandardSystemView new.
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    56
     top extent:(300 @ 200).
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    57
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    58
     b := FilenameComboBoxView in:top.
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    59
     b origin:(0.0 @ 0.0) corner:(1.0 @ 0.0).
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    60
     b bottomInset:(b preferredExtent y negated).
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    61
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    62
     b list:#('c:\' 'd:\' 'c:\users').
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    63
     top open.
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    64
                                                                        [exEnd]
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    65
"
2110
3e7758a8ed6b *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 2109
diff changeset
    66
! !
2109
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
!FilenameComboBoxView methodsFor:'initialization'!
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
editFieldClass
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
    ^ FilenameEditField
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
! !
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
!FilenameComboBoxView class methodsFor:'documentation'!
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
version
3250
e016b4cd8e65 comment added
Claus Gittinger <cg@exept.de>
parents: 2110
diff changeset
    77
    ^ '$Header: /cvs/stx/stx/libwidg2/FilenameComboBoxView.st,v 1.3 2007-10-19 13:57:42 cg Exp $'
2109
ef225ccb4d8c initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
! !