Tools__DiffCodeView2DemoApp.st
author Claus Gittinger <cg@exept.de>
Fri, 01 Jul 2011 15:19:31 +0200
changeset 9977 3d634ff205fb
child 10069 564aac8f3458
permissions -rw-r--r--
initial checkin
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
9977
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     1
"
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     2
 COPYRIGHT (c) 2006 by eXept Software AG
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     3
	      All Rights Reserved
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     4
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     5
 This software is furnished under a license and may be used
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     6
 only in accordance with the terms of that license and with the
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     8
 be provided or otherwise made available to, or used by, any
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
     9
 other person.  No title to or ownership of the software is
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    10
 hereby transferred.
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    11
"
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libtool' }"
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    14
"{ NameSpace: Tools }"
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
ApplicationModel subclass:#DiffCodeView2DemoApp
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:'view'
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	classVariableNames:''
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	category:'Interface-CodeView'
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
!DiffCodeView2DemoApp class methodsFor:'documentation'!
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    25
copyright
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    26
"
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    27
 COPYRIGHT (c) 2006 by eXept Software AG
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    28
	      All Rights Reserved
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    29
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    30
 This software is furnished under a license and may be used
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    31
 only in accordance with the terms of that license and with the
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    33
 be provided or otherwise made available to, or used by, any
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    34
 other person.  No title to or ownership of the software is
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    35
 hereby transferred.
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    36
"
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    37
! !
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    38
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    39
!DiffCodeView2DemoApp class methodsFor:'interface specs'!
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    40
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    41
windowSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    42
    "This resource specification was automatically generated
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    43
     by the UIPainter of ST/X."
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
    "Do not manually edit this!! If it is corrupted,
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
     the UIPainter may not be able to read the specification."
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    47
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    48
    "
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    49
     UIPainter new openOnClass:Tools::DiffCodeView2DemoApp andSelector:#windowSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    50
     Tools::DiffCodeView2DemoApp new openInterface:#windowSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    51
     Tools::DiffCodeView2DemoApp open
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    52
    "
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    53
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    54
    <resource: #canvas>
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    55
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    56
    ^ 
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    57
     #(FullSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
        name: windowSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
        window: 
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
       (WindowSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
          label: 'DiffCodeView2 Demo App'
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
          name: 'DiffCodeView2 Demo App'
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
          min: (Point 0 0)
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
          bounds: (Rectangle 0 0 748 375)
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
        )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
        component: 
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
       (SpecCollection
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    68
          collection: (
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
           (NonScrollableArbitraryComponentSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    70
              name: 'DiffCodeView2'
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    71
              layout: (LayoutFrame 0 0 0 0 0 1 0 1)
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    72
              component: diffCodeView2
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    73
            )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    74
           )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    75
         
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    76
        )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    77
      )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    78
! !
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    79
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    80
!DiffCodeView2DemoApp methodsFor:'accessing'!
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    81
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    82
text1
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    83
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    84
    ^
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    85
'multipleClassRepositoryDiffBrowserSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    86
    "This resource specification was automatically generated
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    87
     by the UIPainter of ST/X."
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    88
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    89
    "Do not manually edit this!! If it is corrupted,
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    90
     the UIPainter may not be able to read the specification."
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    91
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    92
    "
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    93
     UIPainter new openOnClass:NewSystemBrowser andSelector:#multipleClassRepositoryDiffBrowserSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    94
     NewSystemBrowser new openInterface:#multipleClassRepositoryDiffBrowserSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    95
    "
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    96
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    97
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    98
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    99
    ^
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   100
     #(#FullSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   101
        #name: #multipleClassRepositoryDiffBrowserSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   102
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   103
        #window:
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   104
       #(#WindowSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   105
          #label: ''CCB (Cool Class Browser)''
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   106
          #name: ''ClassBrowser''
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   107
          #min: #(#Point 0 0)
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   108
          #bounds: #(#Rectangle 661 213 1123 513)
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   109
        )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   110
        #component:
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   111
       #(#SpecCollection
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   112
          #collection: #(
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   113
           #(#VariableVerticalPanelSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   114
              #name: ''VariableVerticalPanel1''
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   115
              #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   116
              #showHandle: false
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   117
              #snapMode: #both
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   118
              #handlePosition: #left
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   119
              #component:
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   120
             #(#SpecCollection
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   121
                #collection: #(
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   122
                 #(#SubCanvasSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   123
                    #name: ''Navigator''
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   124
                    #autoHideScrollBars: false
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   125
                    #majorKey: #''NavigatorCanvas''
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   126
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   127
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   128
                    #minorKey: #multipleClassDiffBrowserSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   129
                  )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   130
                 #(#SubCanvasSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   131
                    #name: ''DiffView''
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   132
                    #hasHorizontalScrollBar: false
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   133
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   134
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   135
                    #hasVerticalScrollBar: false
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   136
                    #majorKey: #VersionDiffBrowser
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   137
                    #minorKey: #windowSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   138
                    #createNewApplication: true
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   139
                    #createNewBuilder: true
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   140
                    #postBuildCallback: #versionDiffViewerCreated:
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   141
                  )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   142
                 )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   143
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   144
              )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   145
              #handles: #(#Any 0.3 1.0)
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   146
            )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   147
           )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   148
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   149
        )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   150
      )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   151
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   152
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   153
'
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   154
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   155
    "Modified: / 22-06-2010 / 22:25:20 / Jakub <zelenja7@fel.cvut.cz>"
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   156
    "Created: / 01-08-2010 / 20:34:56 / Jan Vrany <jan.vrany@fit.cvut.cz>"
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   157
!
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   158
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   159
text2
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   160
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   161
    ^
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   162
'multipleClassRepositoryDiffBrowserSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   163
    "This resource specification was automatically generated
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   164
     by the UIPainter of ST/X."
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   165
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   166
    "Do not manually edit this!! If it is corrupted,
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   167
     the UIPainter may not be able to read the specification."
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   168
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   169
    "
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   170
     UIPainter new openOnClass:NewSystemBrowser andSelector:#multipleClassRepositoryDiffBrowserSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   171
     NewSystemBrowser new openInterface:#multipleClassRepositoryDiffBrowserSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   172
    "
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   173
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   174
    <resource: #canvas>
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   175
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   176
    ^
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   177
     #(#FullSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   178
        #name: #multipleClassRepositoryDiffBrowserSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   179
        #window:
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   180
       #(#WindowSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   181
          #label: ''ClassBrowser''
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   182
          #name: ''ClassBrowser''
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   183
          #min: #(#Point 0 0)
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   184
          #bounds: #(#Rectangle 661 213 1123 513)
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   185
        )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   186
        #component:
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   187
       #(#SpecCollection
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   188
          #collection: #(
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   189
           #(#VariableVerticalPanelSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   190
              #name: ''VariableVerticalPanel1''
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   191
              #layout: #(#LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   192
              #showHandle: false
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   193
              #snapMode: #both
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   194
              #handlePosition: #left
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   195
              #component:
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   196
             #(#SpecCollection
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   197
                #collection: #(
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   198
                 #(#SubCanvasSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   199
                    #name: ''Navigator''
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   200
                    #autoHideScrollBars: false
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   201
                    #majorKey: #''NavigatorCanvas''
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   202
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   203
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   204
                    #minorKey: #multipleClassDiffBrowserSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   205
                  )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   206
                 #(#SubCanvasSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   207
                    #name: ''DiffView''
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   208
                    #hasHorizontalScrollBar: false
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   209
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   210
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   211
                    #hasVerticalScrollBar: false
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   212
                    #majorKey: #VersionDiffBrowser
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   213
                    #minorKey: #windowSpec
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   214
                    #createNewApplication: true
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   215
                    #createNewBuilder: true
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   216
                    #postBuildCallback: #versionDiffViewerCreated:
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   217
                  )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   218
                 )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   219
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   220
              )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   221
              #handles: #(#Any 0.3 1.0)
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   222
            )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   223
           )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   224
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   225
        )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   226
      )
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   227
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   228
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   229
'
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   230
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   231
    "Created: / 06-03-2010 / 10:39:07 / Jan Vrany <jan.vrany@fit.cvut.cz>"
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   232
    "Modified: / 22-06-2010 / 22:25:20 / Jakub <zelenja7@fel.cvut.cz>"
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   233
    "Modified: / 08-07-2010 / 15:17:42 / Jan Vrany <jan.vrany@fit.cvut.cz>"
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   234
! !
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   235
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   236
!DiffCodeView2DemoApp methodsFor:'accessing - views'!
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   237
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   238
diffCodeView2
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   239
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   240
    view := DiffCodeView2 new.
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   241
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   242
    view text1: 'abc
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   243
def' text2: 'def
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   244
ghi'.
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   245
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   246
"/    view text1: self text1 text2: self text2.
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   247
    ^view
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   248
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   249
    "Created: / 06-03-2010 / 10:38:35 / Jan Vrany <jan.vrany@fit.cvut.cz>"
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   250
    "Modified: / 08-07-2010 / 15:29:01 / Jan Vrany <jan.vrany@fit.cvut.cz>"
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   251
! !
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   252
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   253
!DiffCodeView2DemoApp methodsFor:'hooks'!
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   254
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   255
commonPostOpen
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   256
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   257
    [ Delay waitForSeconds: 1.
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   258
    view text1: self text1 text2: self text2
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   259
    ] fork
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   260
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   261
    "Modified: / 08-07-2010 / 15:27:28 / Jan Vrany <jan.vrany@fit.cvut.cz>"
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   262
! !
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   263
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   264
!DiffCodeView2DemoApp class methodsFor:'documentation'!
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   265
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   266
version_CVS
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   267
    ^ '$Header: /cvs/stx/stx/libtool/Tools__DiffCodeView2DemoApp.st,v 1.1 2011-07-01 13:19:31 cg Exp $'
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   268
!
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   269
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   270
version_SVN
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   271
    ^ '§Id: Tools__DiffCodeView2DemoApp.st 7611 2010-08-01 18:42:05Z vranyj1 §'
3d634ff205fb initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
   272
! !