SVN__Dialog.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Sun, 05 Feb 2012 02:51:58 +0100
changeset 977 927c21edb951
parent 826 6de72a06e3aa
child 1003 f44ca95322e6
permissions -rw-r--r--
changed: #windowSpec
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
     1
"
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
     2
 Copyright (c) 2007-2010 Jan Vrany
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
     3
 Copyright (c) 2009-2010 eXept Software AG
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
     4
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
     5
 Permission is hereby granted, free of charge, to any person
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
     6
 obtaining a copy of this software and associated documentation
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
     7
 files (the 'Software'), to deal in the Software without
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
     8
 restriction, including without limitation the rights to use,
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
     9
 copy, modify, merge, publish, distribute, sublicense, and/or sell
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    10
 copies of the Software, and to permit persons to whom the
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    11
 Software is furnished to do so, subject to the following
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    12
 conditions:
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    13
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    14
 The above copyright notice and this permission notice shall be
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    15
 included in all copies or substantial portions of the Software.
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    16
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    17
 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    18
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    19
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    20
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    21
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    22
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    23
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    24
 OTHER DEALINGS IN THE SOFTWARE.
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    25
"
422
3368a308b104 *** empty log message ***
fm
parents: 309
diff changeset
    26
"{ Package: 'stx:libsvn' }"
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    27
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    28
"{ NameSpace: SVN }"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    29
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    30
SimpleDialog subclass:#Dialog
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    31
	instanceVariableNames:'onCancelBlock onAcceptBlock modelHolder titleHolder
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    32
		subtitleHolder infoHolder progressIndicator worker exception'
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    33
	classVariableNames:'CatchExceptions'
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    34
	poolDictionaries:''
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    35
	category:'SVN-UI-Dialogs'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    36
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    37
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    38
!Dialog class methodsFor:'documentation'!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    39
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    40
copyright
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    41
"
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    42
 Copyright (c) 2007-2010 Jan Vrany
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    43
 Copyright (c) 2009-2010 eXept Software AG
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    44
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    45
 Permission is hereby granted, free of charge, to any person
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    46
 obtaining a copy of this software and associated documentation
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    47
 files (the 'Software'), to deal in the Software without
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    48
 restriction, including without limitation the rights to use,
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    49
 copy, modify, merge, publish, distribute, sublicense, and/or sell
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    50
 copies of the Software, and to permit persons to whom the
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    51
 Software is furnished to do so, subject to the following
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    52
 conditions:
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    53
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    54
 The above copyright notice and this permission notice shall be
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    55
 included in all copies or substantial portions of the Software.
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    56
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    57
 THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND,
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    58
 EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    59
 OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    60
 NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    61
 HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    62
 WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    63
 FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    64
 OTHER DEALINGS IN THE SOFTWARE.
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    65
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    66
"
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    67
! !
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    68
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    69
!Dialog class methodsFor:'instance creation'!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    70
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    71
on: model
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    72
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    73
    ^self new 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    74
        model: model;
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    75
        yourself
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    76
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    77
    "Created: / 14-04-2008 / 11:09:38 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    78
! !
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    79
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    80
!Dialog class methodsFor:'accessing'!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    81
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    82
catchExceptions
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    83
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    84
    ^CatchExceptions isNil or:[CatchExceptions]
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    85
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    86
    "Created: / 09-12-2009 / 16:22:40 / Jan Vrany <jan.vrany@fit.cvut.cz>"
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    87
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    88
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    89
catchExceptions: aBoolean
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    90
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    91
    CatchExceptions := aBoolean
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    92
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    93
    "Created: / 09-12-2009 / 16:22:54 / Jan Vrany <jan.vrany@fit.cvut.cz>"
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    94
! !
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
    95
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    96
!Dialog class methodsFor:'image specs'!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    97
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    98
dialogIcon
8f6e85904f07 initial checkin
fm
parents:
diff changeset
    99
    ^ IconLibrary svn_wizban
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   100
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   101
    "Created: / 13-04-2008 / 11:06:56 / Jan Vrany <vranyj1@fel.cvut.cz>"
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   102
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   103
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   104
downArrow
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   105
    "This resource specification was automatically generated
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   106
     by the ImageEditor of ST/X."
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   107
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   108
    "Do not manually edit this!! If it is corrupted,
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   109
     the ImageEditor may not be able to read the specification."
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   110
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   111
    "
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   112
     self downArrow inspect
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   113
     ImageEditor openOnClass:self andSelector:#downArrow
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   114
     Icon flushCachedIcons
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   115
    "
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   116
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   117
    <resource: #image>
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   118
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   119
    ^Icon
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   120
        constantNamed:'SVN::Dialog class downArrow'
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   121
        ifAbsentPut:[(Depth1Image new) width: 16; height: 16; photometric:(#palette); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@b') ; colorMapFromArray:#[0 0 0]; mask:((Depth1Image new) width: 16; height: 16; photometric:(#blackIs0); bitsPerSample:(#[1]); samplesPerPixel:(1); bits:(ByteArray fromPackedString:'@@@@@@@@@@@@@@@@C?@O<@_ @<@A @@@@@@@@@@@@@@b') ; yourself); yourself]
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   122
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   123
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   124
errorIcon
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   125
    ^ ToolbarIconLibrary error32x32Icon
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   126
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   127
    "Created: / 09-12-2009 / 16:38:23 / Jan Vrany <jan.vrany@fit.cvut.cz>"
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   128
! !
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   129
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   130
!Dialog class methodsFor:'interface opening'!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   131
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   132
openOn: model
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   133
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   134
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   135
    ^(self on: model) open
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   136
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   137
    "Created: / 14-04-2008 / 11:09:38 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   138
    "Modified: / 19-04-2008 / 13:17:11 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   139
! !
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   140
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   141
!Dialog class methodsFor:'interface specs'!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   142
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   143
buttonsSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   144
    "This resource specification was automatically generated
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   145
     by the UIPainter of ST/X."
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   146
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   147
    "Do not manually edit this!! If it is corrupted,
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   148
     the UIPainter may not be able to read the specification."
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   149
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   150
    "
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   151
     UIPainter new openOnClass:SVN::Dialog andSelector:#buttonsSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   152
     SVN::Dialog new openInterface:#buttonsSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   153
    "
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   154
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   155
    <resource: #canvas>
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   156
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   157
    ^ 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   158
     #(FullSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   159
        name: buttonsSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   160
        window: 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   161
       (WindowSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   162
          label: 'Buttons'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   163
          name: 'Buttons'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   164
          min: (Point 10 10)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   165
          bounds: (Rectangle 0 0 400 30)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   166
        )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   167
        component: 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   168
       (SpecCollection
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   169
          collection: (
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   170
           (HorizontalPanelViewSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   171
              name: 'ButtonPanel'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   172
              layout: (LayoutFrame 0 0 0 0 0 1 0 1)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   173
              horizontalLayout: rightSpace
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   174
              verticalLayout: center
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   175
              horizontalSpace: 3
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   176
              verticalSpace: 3
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   177
              component: 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   178
             (SpecCollection
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   179
                collection: (
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   180
                 (ActionButtonSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   181
                    label: 'OK'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   182
                    name: 'AcceptButton'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   183
                    translateLabel: true
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   184
                    labelChannel: acceptButtonTitleAspect
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   185
                    model: doAccept
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   186
                    enableChannel: acceptEnabledHolder
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   187
                    extent: (Point 125 22)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   188
                  )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   189
                 (ActionButtonSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   190
                    label: 'Cancel'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   191
                    name: 'CancelButton'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   192
                    translateLabel: true
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   193
                    model: doCancel
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   194
                    extent: (Point 125 22)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   195
                  )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   196
                 )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   197
               
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   198
              )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   199
            )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   200
           )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   201
         
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   202
        )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   203
      )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   204
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   205
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   206
contentSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   207
    "This resource specification was automatically generated
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   208
     by the UIPainter of ST/X."
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   209
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   210
    "Do not manually edit this!! If it is corrupted,
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   211
     the UIPainter may not be able to read the specification."
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   212
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   213
    "
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   214
     UIPainter new openOnClass:SVN::Dialog andSelector:#contentSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   215
     SVN::Dialog new openInterface:#contentSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   216
    "
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   217
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   218
    <resource: #canvas>
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   219
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   220
    ^ 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   221
     #(FullSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   222
        name: contentSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   223
        window: 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   224
       (WindowSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   225
          label: 'Dialog'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   226
          name: 'Dialog'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   227
          min: (Point 10 10)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   228
          bounds: (Rectangle 0 0 300 300)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   229
        )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   230
        component: 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   231
       (SpecCollection
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   232
          collection: (
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   233
           (LabelSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   234
              label: 'You should override #contentSpec'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   235
              name: 'Message'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   236
              layout: (LayoutFrame 0 0 0 0 0 1 0 1)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   237
              translateLabel: true
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   238
            )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   239
           )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   240
         
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   241
        )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   242
      )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   243
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   244
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   245
errorSpec
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   246
    "This resource specification was automatically generated
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   247
     by the UIPainter of ST/X."
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   248
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   249
    "Do not manually edit this!! If it is corrupted,
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   250
     the UIPainter may not be able to read the specification."
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   251
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   252
    "
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   253
     UIPainter new openOnClass:SVN::Dialog andSelector:#errorSpec
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   254
     SVN::Dialog new openInterface:#errorSpec
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   255
    "
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   256
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   257
    <resource: #canvas>
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   258
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   259
    ^ 
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   260
     #(FullSpec
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   261
        name: errorSpec
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   262
        window: 
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   263
       (WindowSpec
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   264
          label: 'Error'
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   265
          name: 'Error'
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   266
          min: (Point 10 10)
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   267
          bounds: (Rectangle 0 0 300 300)
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   268
        )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   269
        component: 
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   270
       (SpecCollection
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   271
          collection: (
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   272
           (LabelSpec
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   273
              label: 'errorIcon'
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   274
              name: 'ErrorIcon'
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   275
              layout: (LayoutFrame 0 0 0 0 35 0 35 0)
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   276
              hasCharacterOrientedLabel: false
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   277
              translateLabel: true
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   278
            )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   279
           (LabelSpec
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   280
              name: 'ErrorMessage'
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   281
              layout: (LayoutFrame 35 0 0 0 0 1 0 1)
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   282
              translateLabel: true
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   283
              labelChannel: infoHolder
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   284
            )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   285
           )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   286
         
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   287
        )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   288
      )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   289
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   290
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   291
messageSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   292
    "This resource specification was automatically generated
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   293
     by the UIPainter of ST/X."
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   294
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   295
    "Do not manually edit this!! If it is corrupted,
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   296
     the UIPainter may not be able to read the specification."
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   297
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   298
    "
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   299
     UIPainter new openOnClass:SVN::Dialog andSelector:#messageSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   300
     SVN::Dialog new openInterface:#messageSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   301
    "
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   302
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   303
    <resource: #canvas>
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   304
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   305
    ^ 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   306
     #(FullSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   307
        name: messageSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   308
        window: 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   309
       (WindowSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   310
          label: 'Message'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   311
          name: 'Message'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   312
          min: (Point 10 10)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   313
          bounds: (Rectangle 0 0 300 300)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   314
        )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   315
        component: 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   316
       (SpecCollection
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   317
          collection: (
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   318
           (HTMLViewSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   319
              name: 'HTMLBrowser'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   320
              layout: (LayoutFrame 20 0 20 0 -20 1 -20 1)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   321
              level: 0
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   322
              hasHorizontalScrollBar: true
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   323
              hasVerticalScrollBar: true
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   324
              htmlText: infoHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   325
            )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   326
           )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   327
         
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   328
        )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   329
      )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   330
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   331
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   332
progressSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   333
    "This resource specification was automatically generated
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   334
     by the UIPainter of ST/X."
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   335
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   336
    "Do not manually edit this!! If it is corrupted,
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   337
     the UIPainter may not be able to read the specification."
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   338
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   339
    "
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   340
     UIPainter new openOnClass:SVN::Dialog andSelector:#progressSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   341
     SVN::Dialog new openInterface:#progressSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   342
    "
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   343
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   344
    <resource: #canvas>
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   345
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   346
    ^ 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   347
     #(FullSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   348
        name: progressSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   349
        window: 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   350
       (WindowSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   351
          label: 'Progress'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   352
          name: 'Progress'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   353
          min: (Point 10 10)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   354
          bounds: (Rectangle 0 0 300 300)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   355
        )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   356
        component: 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   357
       (SpecCollection
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   358
          collection: (
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   359
           (VerticalPanelViewSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   360
              name: 'InfoPanel'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   361
              layout: (LayoutFrame 20 0 20 0 -20 1 -20 1)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   362
              horizontalLayout: fit
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   363
              verticalLayout: center
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   364
              horizontalSpace: 3
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   365
              verticalSpace: 3
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   366
              component: 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   367
             (SpecCollection
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   368
                collection: (
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   369
                 (LabelSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   370
                    label: 'Working'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   371
                    name: 'InfoHolder'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   372
                    translateLabel: true
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   373
                    labelChannel: infoHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   374
                    adjust: left
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   375
                    useDefaultExtent: true
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   376
                  )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   377
                 (ProgressIndicatorSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   378
                    name: 'ProgressIndicator'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   379
                    model: progressHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   380
                    isActivityIndicator: true
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   381
                    postBuildCallback: postBuildProgressIndicator:
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   382
                    useDefaultExtent: true
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   383
                  )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   384
                 )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   385
               
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   386
              )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   387
            )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   388
           )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   389
         
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   390
        )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   391
      )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   392
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   393
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   394
windowSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   395
    "This resource specification was automatically generated
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   396
     by the UIPainter of ST/X."
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   397
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   398
    "Do not manually edit this!! If it is corrupted,
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   399
     the UIPainter may not be able to read the specification."
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   400
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   401
    "
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   402
     UIPainter new openOnClass:SVN::Dialog andSelector:#windowSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   403
     SVN::Dialog new openInterface:#windowSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   404
     SVN::Dialog open
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   405
    "
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   406
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   407
    <resource: #canvas>
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   408
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   409
    ^ 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   410
     #(FullSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   411
        name: windowSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   412
        window: 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   413
       (WindowSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   414
          label: 'SubVersion: Commit '
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   415
          name: 'SubVersion: Commit '
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   416
          labelChannel: titleHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   417
          min: (Point 10 10)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   418
          bounds: (Rectangle 0 0 648 451)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   419
        )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   420
        component: 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   421
       (SpecCollection
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   422
          collection: (
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   423
           (ViewSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   424
              name: 'TitleBox'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   425
              layout: (LayoutFrame 0 0 0 0 0 1 66 0)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   426
              backgroundColor: (Color 100.0 100.0 100.0)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   427
              component: 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   428
             (SpecCollection
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   429
                collection: (
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   430
                 (LabelSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   431
                    label: 'SVN Dialog'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   432
                    name: 'DialogTitle'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   433
                    layout: (LayoutFrame 10 0 0 0 -75 1 40 0)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   434
                    style: (FontDescription helvetica medium roman 18 #'iso10646-1')
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   435
                    backgroundColor: (Color 100.0 100.0 100.0)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   436
                    translateLabel: true
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   437
                    labelChannel: titleHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   438
                    adjust: left
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   439
                  )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   440
                 (LabelSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   441
                    label: 'SVN Dialog Subtitle'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   442
                    name: 'DialogSubtitle'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   443
                    layout: (LayoutFrame 30 0 40 0 -75 1 66 0)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   444
                    backgroundColor: (Color 100.0 100.0 100.0)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   445
                    translateLabel: true
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   446
                    labelChannel: subtitleHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   447
                    resizeForLabel: false
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   448
                    adjust: left
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   449
                  )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   450
                 (LabelSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   451
                    label: 'Icon'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   452
                    name: 'DialogIcon'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   453
                    layout: (LayoutFrame -75 1 0 0 0 1 66 0)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   454
                    hasCharacterOrientedLabel: false
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   455
                    backgroundColor: (Color 100.0 100.0 100.0)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   456
                    translateLabel: true
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   457
                    labelChannel: dialogIconAspect
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   458
                  )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   459
                 )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   460
               
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   461
              )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   462
            )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   463
           (SubCanvasSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   464
              name: 'Content'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   465
              layout: (LayoutFrame 5 0 70 0 -5 1 -50 1)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   466
              hasHorizontalScrollBar: false
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   467
              hasVerticalScrollBar: false
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   468
              specHolder: contentSpecHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   469
              createNewBuilder: false
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   470
            )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   471
           (DividerSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   472
              name: 'Separator'
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   473
              layout: (LayoutFrame 5 0 -50 1 -5 1 -30 1)
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   474
            )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   475
           (UISubSpecification
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   476
              name: 'Buttons'
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   477
              layout: (LayoutFrame 130 0 -30 1 0 1 0 1)
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   478
              minorKey: buttonsSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   479
            )
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   480
           (LinkButtonSpec
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   481
              label: 'Help'
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   482
              name: 'Help'
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   483
              layout: (LayoutFrame 30 0 -30 1 130 0 0 1)
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   484
              style: (FontDescription helvetica medium roman 12)
977
927c21edb951 changed: #windowSpec
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 826
diff changeset
   485
              initiallyInvisible: true
927c21edb951 changed: #windowSpec
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 826
diff changeset
   486
              foregroundColor: (Color 0.0 0.0 86.9993133440147)
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   487
              translateLabel: true
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   488
              model: doHelp
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   489
            )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   490
           (MenuPanelSpec
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   491
              name: 'More'
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   492
              layout: (LayoutFrame 0 0 -30 1 30 0 0 1)
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   493
              level: 0
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   494
              model: doInspect
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   495
              menu: actionsMenu
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   496
            )
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   497
           )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   498
         
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   499
        )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   500
      )
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   501
! !
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   502
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   503
!Dialog class methodsFor:'menu specs'!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   504
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   505
actionsMenu
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   506
    "This resource specification was automatically generated
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   507
     by the MenuEditor of ST/X."
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   508
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   509
    "Do not manually edit this!! If it is corrupted,
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   510
     the MenuEditor may not be able to read the specification."
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   511
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   512
    "
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   513
     MenuEditor new openOnClass:SVN::Dialog andSelector:#actionsMenu
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   514
     (Menu new fromLiteralArrayEncoding:(SVN::Dialog actionsMenu)) startUp
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   515
    "
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   516
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   517
    <resource: #menu>
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   518
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   519
    ^ 
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   520
     #(Menu
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   521
        (
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   522
         (MenuItem
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   523
            label: 'ActionsMenu'
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   524
            translateLabel: true
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   525
            submenu: 
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   526
           (Menu
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   527
              (
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   528
               (MenuItem
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   529
                  label: 'Catch exceptions'
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   530
                  translateLabel: true
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   531
                  indication: catchExceptionsAspect
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   532
                )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   533
               (MenuItem
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   534
                  label: 'Inspect model'
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   535
                  itemValue: doInspect
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   536
                  translateLabel: true
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   537
                )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   538
               (MenuItem
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   539
                  label: 'Inspect dialog'
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   540
                  itemValue: doInspectDialog
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   541
                  translateLabel: true
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   542
                )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   543
               )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   544
              nil
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   545
              nil
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   546
            )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   547
            labelImage: (ResourceRetriever #'SVN::Dialog' downArrow)
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   548
          )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   549
         )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   550
        nil
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   551
        nil
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   552
      )
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   553
! !
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   554
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   555
!Dialog class methodsFor:'others'!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   556
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   557
version_CVS
826
6de72a06e3aa checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 747
diff changeset
   558
    ^ '$Header$'
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   559
! !
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   560
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   561
!Dialog methodsFor:'accessing'!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   562
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   563
acceptButtonLabel
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   564
    ^ 'OK'
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   565
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   566
    "Created: / 13-04-2008 / 11:06:41 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   567
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   568
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   569
acceptEnabled
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   570
    ^ self acceptEnabledHolder value
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   571
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   572
    "Created: / 16-08-2009 / 17:18:13 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   573
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   574
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   575
acceptEnabled:aBoolean 
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   576
    self acceptEnabledHolder value:aBoolean
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   577
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   578
    "Created: / 03-10-2008 / 14:29:11 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   579
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   580
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   581
contentSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   582
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   583
    ^self contentSpecHolder value
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   584
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   585
    "Created: / 21-10-2008 / 12:39:50 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   586
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   587
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   588
contentSpec: aSymbol
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   589
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   590
    self contentSpecHolder value: aSymbol
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   591
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   592
    "Created: / 21-10-2008 / 12:38:56 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   593
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   594
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   595
info: aString
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   596
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   597
    ^self infoHolder value: aString
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   598
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   599
    "Created: / 09-04-2009 / 08:00:37 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   600
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   601
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   602
model
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   603
    ^self modelHolder value
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   604
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   605
    "Modified: / 20-04-2005 / 18:59:28 / janfrog"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   606
    "Created: / 12-04-2008 / 20:50:50 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   607
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   608
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   609
model:aModel
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   610
    self modelHolder subjectChannel:aModel
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   611
    "aModel isValueModel 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   612
        ifTrue:[self modelHolder subjectChannel:aModel]
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   613
        ifFalse:[self modelHolder subject:aModel]."
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   614
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   615
    "Modified: / 20-04-2005 / 18:59:28 / janfrog"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   616
    "Created: / 12-04-2008 / 20:50:50 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   617
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   618
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   619
modelHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   620
    ^ modelHolder 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   621
        ifNil:[
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   622
            modelHolder := (AspectAdaptor subjectChannel:self defaultModel) 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   623
                        forAspect:#value
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   624
        ]
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   625
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   626
    "Modified: / 20-04-2005 / 18:59:28 / janfrog"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   627
    "Created: / 12-04-2008 / 20:50:50 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   628
    "Modified: / 03-10-2008 / 14:57:35 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   629
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   630
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   631
subtitle
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   632
    "return the value in 'dialogSubtitleHolder'"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   633
    
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   634
    ^ self subtitleHolder value
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   635
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   636
    "Created: / 22-10-2008 / 12:40:02 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   637
    "Modified: / 09-04-2009 / 07:53:25 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   638
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   639
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   640
subtitle:newValue 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   641
    "set the value in 'dialogSubtitleHolder'"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   642
    
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   643
    self subtitleHolder value:'     ' , newValue
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   644
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   645
    "Created: / 22-10-2008 / 12:40:14 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   646
    "Modified: / 09-04-2009 / 07:53:18 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   647
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   648
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   649
title
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   650
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   651
    ^self dialogTitleAspect value
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   652
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   653
    "Created: / 22-10-2008 / 12:40:41 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   654
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   655
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   656
title: aString
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   657
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   658
    ^self titleHolder value: aString
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   659
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   660
    "Created: / 22-10-2008 / 12:40:49 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   661
    "Modified: / 09-04-2009 / 14:12:49 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   662
! !
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   663
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   664
!Dialog methodsFor:'accessing - defaults'!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   665
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   666
defaultContentSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   667
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   668
    ^#contentSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   669
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   670
    "Created: / 21-10-2008 / 12:35:11 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   671
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   672
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   673
defaultModel
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   674
    ^ nil
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   675
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   676
    "Created: / 03-10-2008 / 14:57:35 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   677
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   678
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   679
defaultSubtitle
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   680
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   681
    ^''
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   682
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   683
    "Created: / 03-10-2008 / 13:54:08 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   684
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   685
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   686
defaultTitle
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   687
    ^ self subclassResponsibility
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   688
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   689
    "Created: / 03-10-2008 / 13:58:40 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   690
! !
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   691
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   692
!Dialog methodsFor:'actions'!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   693
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   694
doAccept
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   695
    self acceptEnabled ifTrue:[
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   696
        super doAccept
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   697
    ]
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   698
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   699
    "Created: / 16-08-2009 / 17:18:47 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   700
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   701
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   702
doCancel
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   703
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   704
    "Terminate a worker process, if any"
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   705
    worker ifNotNil:[worker terminate].
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   706
    "And close"
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   707
    super doCancel
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   708
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   709
    "Created: / 28-10-2008 / 14:47:44 / Jan Vrany <vranyj1@fel.cvut.cz>"
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   710
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   711
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   712
doHelp
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   713
    <resource: #uiCallback>
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   714
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   715
    Transcript showCR:self class name, ': action for doHelp ...'.
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   716
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   717
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   718
doInspect
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   719
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   720
    self model inspect
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   721
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   722
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   723
doInspectDialog
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   724
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   725
    self inspect
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   726
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   727
    "Created: / 10-03-2010 / 15:30:57 / Jan Vrany <jan.vrany@fit.cvut.cz>"
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   728
! !
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   729
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   730
!Dialog methodsFor:'aspects'!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   731
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   732
acceptButtonTitleAspect
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   733
    ^ self acceptButtonLabel
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   734
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   735
    "Modified: / 31-03-2008 / 18:53:56 / janfrog"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   736
    "Created: / 13-04-2008 / 11:08:43 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   737
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   738
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   739
acceptEnabledHolder
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   740
    |holder|
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   741
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   742
    (holder := builder bindingAt:#acceptEnabledHolder) isNil ifTrue:[
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   743
        holder := false asValue.
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   744
        builder aspectAt:#acceptEnabledHolder put:holder.
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   745
    ].
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   746
    ^ holder.
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   747
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   748
    "Created: / 14-04-2008 / 11:17:10 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   749
    "Modified: / 14-04-2008 / 12:56:08 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   750
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   751
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   752
catchExceptionsAspect
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   753
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   754
    ^(AspectAdaptor forAspect:#catchExceptions)
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   755
        subject: self class
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   756
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   757
    "Created: / 09-12-2009 / 16:23:43 / Jan Vrany <jan.vrany@fit.cvut.cz>"
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   758
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   759
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   760
contentSpecHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   761
    <resource: #uiAspect>
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   762
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   763
    |holder|
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   764
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   765
    (holder := builder bindingAt:#contentSpecHolder) isNil ifTrue:[
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   766
        holder := self defaultContentSpec asValue.
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   767
        holder onChangeSend:#contentSpecChanged to: self.
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   768
        builder aspectAt:#contentSpecHolder put:holder.
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   769
    ].
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   770
    ^ holder.
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   771
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   772
    "Created: / 21-10-2008 / 12:34:59 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   773
    "Modified: / 22-10-2008 / 11:22:16 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   774
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   775
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   776
dialogIconAspect
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   777
    ^ self class dialogIcon
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   778
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   779
    "Created: / 13-04-2008 / 11:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   780
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   781
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   782
infoHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   783
    "return/create the 'infoHolder' value holder (automatically generated)"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   784
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   785
    infoHolder isNil ifTrue:[
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   786
        infoHolder := ValueHolder new.
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   787
    ].
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   788
    ^ infoHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   789
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   790
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   791
progressHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   792
    <resource: #uiAspect>
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   793
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   794
    |holder|
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   795
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   796
    (holder := builder bindingAt:#progressHolder) isNil ifTrue:[
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   797
        holder := nil asValue.
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   798
        builder aspectAt:#progressHolder put:holder.
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   799
    ].
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   800
    ^ holder.
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   801
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   802
    "Created: / 21-10-2008 / 12:24:38 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   803
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   804
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   805
subtitleHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   806
    "return/create the valueHolder 'dialogSubtitleHolder'"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   807
    
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   808
    subtitleHolder isNil ifTrue:[
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   809
        subtitleHolder := self defaultSubtitle asValue
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   810
    ].
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   811
    ^ subtitleHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   812
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   813
    "Created: / 03-10-2008 / 13:53:16 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   814
    "Modified: / 09-04-2009 / 07:53:51 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   815
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   816
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   817
titleHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   818
    titleHolder isNil ifTrue:[
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   819
        titleHolder := self defaultTitle asValue.
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   820
    ].
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   821
    ^titleHolder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   822
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   823
    "Modified: / 31-03-2008 / 18:53:56 / janfrog"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   824
    "Created: / 13-04-2008 / 11:05:55 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   825
    "Modified: / 09-04-2009 / 07:52:33 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   826
! !
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   827
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   828
!Dialog methodsFor:'change & update'!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   829
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   830
contentSpecChanged
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   831
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   832
    self contentSpecChanged: self contentSpec
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   833
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   834
    "Created: / 22-10-2008 / 11:22:35 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   835
    "Modified: / 06-11-2008 / 18:31:33 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   836
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   837
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   838
contentSpecChanged: specSymbol
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   839
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   840
    "nothing to do here"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   841
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   842
    "Created: / 06-11-2008 / 18:31:19 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   843
! !
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   844
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   845
!Dialog methodsFor:'events'!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   846
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   847
closeAccept
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   848
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   849
    [onAcceptBlock ifNotNil:[onAcceptBlock value: self]]
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   850
        ensure:[super closeAccept]
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   851
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   852
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   853
closeCancel
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   854
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   855
    [onCancelBlock ifNotNil:[onCancelBlock value: self]]
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   856
        ensure:[super closeCancel]
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   857
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   858
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   859
closeWindow
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   860
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   861
    worker 
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   862
        ifNotNil:[worker addExitAction:[self closeWindow]]
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   863
        ifNil:[super closeWindow]
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   864
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   865
    "Created: / 01-11-2009 / 16:33:26 / Jan Vrany <jan.vrany@fit.cvut.cz>"
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   866
! !
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   867
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   868
!Dialog methodsFor:'hooks'!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   869
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   870
onAccept: aBlock
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   871
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   872
    onAcceptBlock := aBlock
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   873
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   874
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   875
onCancel: aBlock
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   876
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   877
    onCancelBlock := aBlock
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   878
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   879
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   880
postBuildProgressIndicator:aView
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   881
    <resource: #uiCallback>
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   882
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   883
    progressIndicator := aView
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   884
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   885
    "Modified: / 28-10-2008 / 12:50:51 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   886
! !
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   887
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   888
!Dialog methodsFor:'initialization'!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   889
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   890
initialize
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   891
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   892
    super initialize.
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   893
    self createBuilder
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   894
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   895
    "Created: / 22-10-2008 / 12:37:01 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   896
! !
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   897
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   898
!Dialog methodsFor:'private'!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   899
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   900
handleError: ex
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   901
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   902
    self class catchExceptions ifFalse:[ex pass].    
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   903
    self showError: ex description.
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   904
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   905
    "Created: / 09-12-2009 / 16:32:38 / Jan Vrany <jan.vrany@fit.cvut.cz>"
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   906
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   907
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   908
handleNotification:ex 
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   909
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   910
    self info:ex messageText.
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   911
    ex parameter isNumber 
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   912
        ifTrue:
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   913
            [progressIndicator showBusyIndication:false.
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   914
            self progressHolder value:ex parameter]
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   915
        ifFalse:
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   916
            [progressIndicator showBusyIndication:true].
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   917
    ex proceed.
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   918
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   919
    "Modified: / 09-12-2009 / 16:32:10 / Jan Vrany <jan.vrany@fit.cvut.cz>"
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   920
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   921
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   922
handleUserConfirmation: ex
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   923
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   924
    ^ex proceedWith: ex defaultAction
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   925
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   926
    "Created: / 09-12-2009 / 16:31:24 / Jan Vrany <jan.vrany@fit.cvut.cz>"
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   927
!
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   928
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   929
showContent
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   930
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   931
    self 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   932
        contentSpec: #contentSpec.
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   933
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   934
    "Created: / 09-04-2009 / 08:14:36 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   935
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   936
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   937
showError: aString
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   938
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   939
    self 
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   940
        info: aString;
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   941
        contentSpec: #errorSpec
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   942
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   943
    "Created: / 09-12-2009 / 16:40:11 / Jan Vrany <jan.vrany@fit.cvut.cz>"
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   944
!
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   945
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   946
showMessage: aString
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   947
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   948
    self 
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   949
        info: aString;
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   950
        contentSpec: #messageSpec.
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   951
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   952
    "Created: / 09-04-2009 / 08:14:51 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   953
!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   954
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   955
showProgressWhile:aBlock 
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   956
    |prevSpec|
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   957
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   958
    prevSpec := self contentSpec.
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   959
    self contentSpec:#progressSpec.
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   960
    worker := 
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   961
            [[ aBlock on: UserConfirmation do: [:ex|self handleUserConfirmation: ex] ]
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   962
                on: (ActivityNotification , ProgressNotification)
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   963
                do: [:ex|self handleNotification: ex]
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   964
                on: Error
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   965
                do: [:ex|self handleError: ex].
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   966
            worker := nil] newProcess.
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   967
    worker
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   968
        addExitAction:[
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   969
                self contentSpec == #progressSpec ifTrue:[
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   970
                    self contentSpec:prevSpec
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   971
                ].
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   972
                worker := nil
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   973
            ];
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   974
        resume.
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   975
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   976
    "Created: / 21-10-2008 / 12:07:06 / Jan Vrany <vranyj1@fel.cvut.cz>"
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   977
    "Modified: / 09-04-2009 / 08:28:26 / Jan Vrany <vranyj1@fel.cvut.cz>"
747
a2501319ebab Updates from SVN
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 422
diff changeset
   978
    "Modified: / 09-12-2009 / 16:42:34 / Jan Vrany <jan.vrany@fit.cvut.cz>"
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   979
! !
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   980
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   981
!Dialog class methodsFor:'documentation'!
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   982
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   983
version
826
6de72a06e3aa checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 747
diff changeset
   984
    ^ '$Header$'
214
c1cddd1fab0d changed: #version_SVN
fm
parents: 61
diff changeset
   985
!
c1cddd1fab0d changed: #version_SVN
fm
parents: 61
diff changeset
   986
c1cddd1fab0d changed: #version_SVN
fm
parents: 61
diff changeset
   987
version_SVN
826
6de72a06e3aa checkin to get version methods correct
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 747
diff changeset
   988
    ^ '§Id: SVN__Dialog.st 363 2011-08-08 13:49:48Z vranyj1 §'
61
8f6e85904f07 initial checkin
fm
parents:
diff changeset
   989
! !