UIListEditor.st
author Claus Gittinger <cg@exept.de>
Wed, 05 Sep 2012 11:22:38 +0200
changeset 2917 086fcfdbd182
parent 2588 2b4338afd9d5
permissions -rw-r--r--
lcc support
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2588
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
     1
"
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
     2
 COPYRIGHT (c) 2008 by eXept Software AG
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
     3
              All Rights Reserved
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
     4
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
     5
 This software is furnished under a license and may be used
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
     6
 only in accordance with the terms of that license and with the
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
     8
 be provided or otherwise made available to, or used by, any
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
     9
 other person.  No title to or ownership of the software is
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    10
 hereby transferred.
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    11
"
2282
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libtool2' }"
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    13
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    14
SimpleDialog subclass:#UIListEditor
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:'informationLabel listTextHolder useSymbolsHolder'
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    18
	category:'Interface-UIPainter'
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    19
!
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    20
2588
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    21
!UIListEditor class methodsFor:'documentation'!
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    22
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    23
copyright
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    24
"
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    25
 COPYRIGHT (c) 2008 by eXept Software AG
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    26
              All Rights Reserved
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    27
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    28
 This software is furnished under a license and may be used
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    29
 only in accordance with the terms of that license and with the
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    31
 be provided or otherwise made available to, or used by, any
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    32
 other person.  No title to or ownership of the software is
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    33
 hereby transferred.
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    34
"
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
    35
! !
2282
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    36
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    37
!UIListEditor class methodsFor:'help specs'!
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    38
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    39
helpSpec
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    40
    "This resource specification was automatically generated
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    41
     by the UIHelpTool of ST/X."
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    42
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    43
    "Do not manually edit this!! If it is corrupted,
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    44
     the UIHelpTool may not be able to read the specification."
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    45
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    46
    "
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    47
     UIHelpTool openOnClass:UIListEditor    
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    48
    "
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    49
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    50
    <resource: #help>
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    51
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    52
    ^ super helpSpec addPairsFrom:#(
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    53
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    54
#useSymbols
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    55
'Store list elements as symbols'
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    56
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    57
)
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    58
! !
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    59
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    60
!UIListEditor class methodsFor:'interface specs'!
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    61
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    62
windowSpec
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    63
    "This resource specification was automatically generated
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    64
     by the UIPainter of ST/X."
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    65
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    66
    "Do not manually edit this!! If it is corrupted,
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    67
     the UIPainter may not be able to read the specification."
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    68
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    69
    "
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    70
     UIPainter new openOnClass:UIListEditor andSelector:#windowSpec
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    71
     UIListEditor new openInterface:#windowSpec
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    72
     UIListEditor open
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    73
    "
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    74
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    75
    <resource: #canvas>
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    76
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    77
    ^ 
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    78
     #(FullSpec
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    79
        name: windowSpec
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    80
        window: 
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    81
       (WindowSpec
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    82
          label: 'Edit List'
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    83
          name: 'Edit List'
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    84
          min: (Point 10 10)
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    85
          bounds: (Rectangle 0 0 354 422)
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    86
        )
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    87
        component: 
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    88
       (SpecCollection
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    89
          collection: (
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    90
           (LabelSpec
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    91
              name: 'Label1'
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    92
              layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 28 0)
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    93
              translateLabel: true
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    94
              labelChannel: informationLabel
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    95
            )
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    96
           (TextEditorSpec
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    97
              name: 'TextEditor1'
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    98
              layout: (LayoutFrame 0 0 30 0 0 1 -63 1)
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    99
              model: listTextHolder
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   100
              hasHorizontalScrollBar: true
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   101
              hasVerticalScrollBar: true
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   102
              viewClassName: ''
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   103
            )
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   104
           (CheckBoxSpec
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   105
              label: 'Use Symbols'
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   106
              name: 'CheckBox1'
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   107
              layout: (LayoutFrame 5 0 368 0 141 0 390 0)
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   108
              activeHelpKey: useSymbols
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   109
              model: useSymbolsHolder
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   110
              translateLabel: true
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   111
            )
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   112
           (HorizontalPanelViewSpec
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   113
              name: 'HorizontalPanel1'
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   114
              layout: (LayoutFrame 0 0 -33 1 0 1 0 1)
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   115
              horizontalLayout: fitSpace
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   116
              verticalLayout: center
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   117
              horizontalSpace: 3
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   118
              verticalSpace: 3
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   119
              component: 
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   120
             (SpecCollection
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   121
                collection: (
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   122
                 (ActionButtonSpec
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   123
                    label: 'Cancel'
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   124
                    name: 'Button1'
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   125
                    translateLabel: true
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   126
                    model: doCancel
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   127
                    extent: (Point 172 22)
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   128
                  )
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   129
                 (ActionButtonSpec
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   130
                    label: 'OK'
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   131
                    name: 'Button2'
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   132
                    translateLabel: true
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   133
                    model: doAccept
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   134
                    isDefault: true
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   135
                    extent: (Point 173 22)
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   136
                  )
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   137
                 )
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   138
               
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   139
              )
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   140
            )
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   141
           )
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   142
         
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   143
        )
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   144
      )
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   145
! !
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   146
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   147
!UIListEditor methodsFor:'accessing'!
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   148
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   149
informationLabel
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   150
    ^ informationLabel
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   151
!
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   152
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   153
informationLabel:something
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   154
    informationLabel := something.
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   155
!
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   156
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   157
list
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   158
    "answer the list as an array"
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   159
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   160
    |list|
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   161
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   162
    list := self listTextHolder value asStringCollection asArray.
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   163
    self useSymbolsHolder value ifTrue:[
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   164
        list := list collect:[:e| e asSymbol].
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   165
    ].
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   166
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   167
    ^ list
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   168
!
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   169
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   170
list:anArray
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   171
    self listTextHolder value:anArray asStringCollection asString.
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   172
!
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   173
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   174
useSymbols:aBoolean
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   175
    self useSymbolsHolder value:aBoolean
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   176
! !
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   177
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   178
!UIListEditor methodsFor:'aspects'!
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   179
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   180
listTextHolder
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   181
    <resource: #uiAspect>
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   182
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   183
    listTextHolder isNil ifTrue:[
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   184
        listTextHolder := '' asValue.
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   185
    ].
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   186
    ^ listTextHolder.
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   187
!
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   188
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   189
useSymbolsHolder
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   190
    <resource: #uiAspect>
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   191
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   192
    useSymbolsHolder isNil ifTrue:[
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   193
        useSymbolsHolder := false asValue.
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   194
    ].
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   195
    ^ useSymbolsHolder.
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   196
! !
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   197
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   198
!UIListEditor class methodsFor:'documentation'!
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   199
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   200
version
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   201
    ^ '$Header$'
2588
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
   202
!
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
   203
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
   204
version_CVS
2b4338afd9d5 added: #copyright
Claus Gittinger <cg@exept.de>
parents: 2282
diff changeset
   205
    ^ '$Header$'
2282
cc1eded4d84d initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
   206
! !