CVSSourceCodeManagementSettingsAppl.st
changeset 11061 0742839089e1
parent 11059 e30cf8541827
child 11069 8f99a7115be3
--- a/CVSSourceCodeManagementSettingsAppl.st	Mon Jan 09 11:09:02 2012 +0100
+++ b/CVSSourceCodeManagementSettingsAppl.st	Mon Jan 09 23:58:28 2012 +0100
@@ -96,6 +96,9 @@
 #cvsCommand
 'The command to use for cvs operations\(the path to "cvs"/"cvs.exe"-command. Not needed, if already in the shell''s PATH value)'
 
+#cvsCommandTimeout
+'The command timeout.\For slow connections (ssl-tunnel), it may make sense to increase this value.'
+
 #cvsLogin
 'Perform a "cvs login" operation for the default CVSROOT'
 
@@ -155,7 +158,7 @@
 
 )
 
-    "Modified: / 22-12-2011 / 11:26:54 / cg"
+    "Modified: / 09-01-2012 / 23:29:41 / cg"
 ! !
 
 !CVSSourceCodeManagementSettingsAppl class methodsFor:'image specs'!
@@ -245,233 +248,122 @@
           label: 'CVS Settings'
           name: 'CVS Settings'
           min: (Point 10 10)
-          bounds: (Rectangle 0 0 662 580)
+          bounds: (Rectangle 0 0 800 497)
         )
         component: 
        (SpecCollection
           collection: (
            (VerticalPanelViewSpec
-              name: 'VerticalPanel2'
-              layout: (LayoutFrame 0 0.0 0 0.0 0 1.0 0 1.0)
+              name: 'VerticalPanel3'
+              layout: (LayoutFrame 0 0 0 0 0 1 0 1)
               horizontalLayout: fit
               verticalLayout: topSpace
               horizontalSpace: 3
-              verticalSpace: 20
+              verticalSpace: 4
               component: 
              (SpecCollection
                 collection: (
-                 (VerticalPanelViewSpec
-                    name: 'VerticalPanel3'
-                    horizontalLayout: fit
-                    verticalLayout: top
-                    horizontalSpace: 3
-                    verticalSpace: 4
+                 (ViewSpec
+                    name: 'ManagerSetupBoxx'
                     component: 
                    (SpecCollection
                       collection: (
-                       (ViewSpec
-                          name: 'ManagerSetupBoxx'
+                       (FramedBoxSpec
+                          label: 'CVS Sourcecode Manager Settings'
+                          name: 'CVSSetupBox'
+                          layout: (LayoutFrame 0 0 0 0 0 1 0 1)
+                          labelPosition: topLeft
+                          translateLabel: true
                           component: 
                          (SpecCollection
                             collection: (
-                             (FramedBoxSpec
-                                label: 'CVS Sourcecode Manager Settings'
-                                name: 'CVSSetupBox'
-                                layout: (LayoutFrame 0 0 0 0 0 1 0 1)
-                                labelPosition: topLeft
+                             (CheckBoxSpec
+                                label: 'Show in Browser Menus'
+                                name: 'CheckBox1'
+                                layout: (LayoutFrame 0 0 5 0 0 1 27 0)
+                                model: showInBrowserMenusHolder
                                 translateLabel: true
+                              )
+                             (ViewSpec
+                                name: 'Box1'
+                                layout: (LayoutFrame 0 0 35 0 0 1 60 0)
                                 component: 
                                (SpecCollection
                                   collection: (
-                                   (ViewSpec
-                                      name: 'Box1'
-                                      layout: (LayoutFrame 0 0 0 0 0 1 25 0)
-                                      component: 
-                                     (SpecCollection
-                                        collection: (
-                                         (LabelSpec
-                                            label: 'CVS Command or Path:'
-                                            name: 'Label1'
-                                            layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0)
-                                            activeHelpKey: cvsCommand
-                                            level: 0
-                                            translateLabel: true
-                                            adjust: right
-                                          )
-                                         (InputFieldSpec
-                                            name: 'CVSExecutableField'
-                                            layout: (LayoutFrame 64 0.25 0 0 0 1 22 0)
-                                            activeHelpKey: cvsCommand
-                                            tabable: true
-                                            model: cvsExecutableHolder
-                                            acceptChannel: acceptChannel
-                                            acceptOnPointerLeave: true
-                                          )
-                                         )
-                                       
-                                      )
-                                    )
-                                   (ViewSpec
-                                      name: 'Box12'
-                                      layout: (LayoutFrame 0 0 26 0 0 1 51 0)
-                                      component: 
-                                     (SpecCollection
-                                        collection: (
-                                         (LabelSpec
-                                            label: 'CVS Command Timeout:'
-                                            name: 'Label2'
-                                            layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0)
-                                            activeHelpKey: cvsCommand
-                                            level: 0
-                                            translateLabel: true
-                                            adjust: right
-                                          )
-                                         (InputFieldSpec
-                                            name: 'EntryField1'
-                                            layout: (LayoutFrame 64 0.25 0 0 -308 1 22 0)
-                                            activeHelpKey: cvsCommand
-                                            tabable: true
-                                            model: cvsCommandTimeoutHolder
-                                            type: integerInRange
-                                            minValue: 5
-                                            maxValue: 3600
-                                            acceptChannel: acceptChannel
-                                            acceptOnPointerLeave: true
-                                          )
-                                         (LabelSpec
-                                            label: 's'
-                                            name: 'Label3'
-                                            layout: (LayoutFrame 327 0.0 0 0 190 0.25 22 0)
-                                            activeHelpKey: cvsCommand
-                                            level: 0
-                                            translateLabel: true
-                                            adjust: left
-                                          )
-                                         )
-                                       
-                                      )
-                                    )
-                                   (ViewSpec
-                                      name: 'Box7'
-                                      layout: (LayoutFrame 0 0.0 52 0 0 1 77 0)
-                                      component: 
-                                     (SpecCollection
-                                        collection: (
-                                         (LabelSpec
-                                            label: 'CVSRoot default:'
-                                            name: 'defaultCvsRootLabel'
-                                            layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0)
-                                            activeHelpKey: cvsRootDefault
-                                            level: 0
-                                            translateLabel: true
-                                            adjust: right
-                                          )
-                                         (ComboBoxSpec
-                                            name: 'cvsRootComboBox'
-                                            layout: (LayoutFrame 64 0.25 0 0 0 1 22 0)
-                                            activeHelpKey: cvsRootDefault
-                                            tabable: true
-                                            model: cvsRootHolder
-                                            immediateAccept: true
-                                            acceptOnLeave: true
-                                            acceptOnReturn: true
-                                            acceptOnTab: true
-                                            acceptOnLostFocus: true
-                                            acceptChannel: acceptChannel
-                                            acceptOnPointerLeave: true
-                                            comboList: cvsRootPrototypeList
-                                          )
-                                         )
-                                       
-                                      )
-                                    )
-                                   (HorizontalPanelViewSpec
-                                      name: 'HorizontalPanel3'
-                                      layout: (LayoutFrame 44 0.25 76 0 -1 1 107 0)
-                                      horizontalLayout: fitSpace
-                                      verticalLayout: center
-                                      horizontalSpace: 3
-                                      verticalSpace: 3
-                                      component: 
-                                     (SpecCollection
-                                        collection: (
-                                         (ViewSpec
-                                            name: 'Box8'
-                                            extent: (Point 102 10)
-                                          )
-                                         (ViewSpec
-                                            name: 'Box9'
-                                            extent: (Point 103 10)
-                                          )
-                                         (ViewSpec
-                                            name: 'Box10'
-                                            extent: (Point 103 10)
-                                          )
-                                         (ActionButtonSpec
-                                            label: 'CVS-Login'
-                                            name: 'loginButton1'
-                                            activeHelpKey: cvsLogin
-                                            translateLabel: true
-                                            tabable: true
-                                            model: loginCVSRoot
-                                            enableChannel: cvsLoginEnabled
-                                            extent: (Point 103 22)
-                                          )
-                                         )
-                                       
-                                      )
-                                    )
                                    (LabelSpec
-                                      label: 'CVSRoot per Module:'
-                                      name: 'knownModulesLabel'
-                                      layout: (LayoutFrame 0 0.0 107 0 60 0.25 129 0)
-                                      activeHelpKey: cvsRootPerModule
-                                      translateLabel: true
-                                      adjust: right
-                                    )
-                                   (SequenceViewSpec
-                                      name: 'List1'
-                                      layout: (LayoutFrame 64 0.25 107 0 0 1 226 0)
-                                      activeHelpKey: cvsRootPerModule
-                                      tabable: true
-                                      model: selectedPerModuleRoot
-                                      hasHorizontalScrollBar: true
-                                      hasVerticalScrollBar: true
-                                      miniScrollerHorizontal: true
-                                      useIndex: false
-                                      sequenceList: listOfModules
-                                    )
-                                   (LabelSpec
-                                      label: 'Module:'
-                                      name: 'moduleLabel'
-                                      layout: (LayoutFrame 0 0.0 236 0 60 0.25 253 0)
-                                      activeHelpKey: cvsRootPerModuleModule
+                                      label: 'CVS Command or Path:'
+                                      name: 'Label1'
+                                      layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0)
+                                      activeHelpKey: cvsCommand
+                                      level: 0
                                       translateLabel: true
                                       adjust: right
                                     )
                                    (InputFieldSpec
-                                      name: 'perModuleRootModuleEntryField'
-                                      layout: (LayoutFrame 64 0.25 232 0 0 1 254 0)
-                                      activeHelpKey: cvsRootPerModuleModule
+                                      name: 'CVSExecutableField'
+                                      layout: (LayoutFrame 64 0.25 0 0 0 1 22 0)
+                                      activeHelpKey: cvsCommand
                                       tabable: true
-                                      model: perModuleRootModule
+                                      model: cvsExecutableHolder
                                       acceptChannel: acceptChannel
                                       acceptOnPointerLeave: true
                                     )
+                                   )
+                                 
+                                )
+                              )
+                             (ViewSpec
+                                name: 'Box12'
+                                layout: (LayoutFrame 0 0 61 0 0 1 86 0)
+                                component: 
+                               (SpecCollection
+                                  collection: (
                                    (LabelSpec
-                                      label: 'CVSRoot:'
-                                      name: 'cvsRootLabel'
-                                      layout: (LayoutFrame 0 0.0 261 0 60 0.25 278 0)
-                                      activeHelpKey: cvsRootPerModuleRoot
+                                      label: 'CVS Command Timeout:'
+                                      name: 'Label2'
+                                      layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0)
+                                      activeHelpKey: cvsCommandTimeout
+                                      level: 0
+                                      translateLabel: true
+                                      adjust: right
+                                    )
+                                   (InputFieldSpec
+                                      name: 'EntryField1'
+                                      layout: (LayoutFrame 64 0.25 0 0 120 0.25 22 0)
+                                      activeHelpKey: cvsCommandTimeout
+                                      tabable: true
+                                      model: cvsCommandTimeoutHolder
+                                      type: integerInRange
+                                      minValue: 5
+                                      maxValue: 3600
+                                      acceptChannel: acceptChannel
+                                      acceptOnPointerLeave: true
+                                    )
+                                   )
+                                 
+                                )
+                              )
+                             (ViewSpec
+                                name: 'Box7'
+                                layout: (LayoutFrame 0 0.0 92 0 0 1 117 0)
+                                component: 
+                               (SpecCollection
+                                  collection: (
+                                   (LabelSpec
+                                      label: 'CVSRoot default:'
+                                      name: 'defaultCvsRootLabel'
+                                      layout: (LayoutFrame 0 0.0 2 0 60 0.25 24 0)
+                                      activeHelpKey: cvsRootDefault
+                                      level: 0
                                       translateLabel: true
                                       adjust: right
                                     )
                                    (ComboBoxSpec
-                                      name: 'perModuleRootComboBox'
-                                      layout: (LayoutFrame 64 0.25 257 0 0 1.0 279 0)
-                                      activeHelpKey: cvsRootPerModuleRoot
+                                      name: 'cvsRootComboBox'
+                                      layout: (LayoutFrame 64 0.25 2 0 0 1 24 0)
+                                      activeHelpKey: cvsRootDefault
                                       tabable: true
-                                      model: perModuleRoot
+                                      model: cvsRootHolder
                                       immediateAccept: true
                                       acceptOnLeave: true
                                       acceptOnReturn: true
@@ -481,52 +373,122 @@
                                       acceptOnPointerLeave: true
                                       comboList: cvsRootPrototypeList
                                     )
-                                   (HorizontalPanelViewSpec
-                                      name: 'HorizontalPanel2'
-                                      layout: (LayoutFrame 64 0.25 -29 1 -1 1 -4 1)
-                                      horizontalLayout: fitSpace
-                                      verticalLayout: center
-                                      horizontalSpace: 3
-                                      verticalSpace: 3
-                                      component: 
-                                     (SpecCollection
-                                        collection: (
-                                         (ActionButtonSpec
-                                            label: 'Add/Apply'
-                                            name: 'addButton'
-                                            activeHelpKey: addPerModuleRoot
-                                            translateLabel: true
-                                            tabable: true
-                                            model: addPerModuleRoot
-                                            extent: (Point 97 22)
-                                          )
-                                         (ActionButtonSpec
-                                            label: 'Remove'
-                                            name: 'removeButton'
-                                            activeHelpKey: removePerModuleRoot
-                                            translateLabel: true
-                                            tabable: true
-                                            model: removePerModuleRoot
-                                            enableChannel: removeEnabled
-                                            extent: (Point 98 22)
-                                          )
-                                         (ViewSpec
-                                            name: 'Box11'
-                                            extent: (Point 98 10)
-                                          )
-                                         (ActionButtonSpec
-                                            label: 'CVS-Login'
-                                            name: 'loginButton2'
-                                            activeHelpKey: loginPerModuleRoot
-                                            translateLabel: true
-                                            tabable: true
-                                            model: loginPerModuleRoot
-                                            enableChannel: cvsLoginInModuleEnabled
-                                            extent: (Point 98 22)
-                                          )
-                                         )
-                                       
-                                      )
+                                   )
+                                 
+                                )
+                              )
+                             (ActionButtonSpec
+                                label: 'CVS-Login'
+                                name: 'Button1'
+                                layout: (LayoutFrame -117 1 122 0 0 1 144 0)
+                                activeHelpKey: cvsLogin
+                                translateLabel: true
+                                tabable: true
+                                model: loginCVSRoot
+                                enableChannel: cvsLoginEnabled
+                              )
+                             (LabelSpec
+                                label: 'CVSRoot per Module:'
+                                name: 'knownModulesLabel'
+                                layout: (LayoutFrame 0 0.0 150 0 60 0.25 172 0)
+                                activeHelpKey: cvsRootPerModule
+                                translateLabel: true
+                                adjust: right
+                              )
+                             (SequenceViewSpec
+                                name: 'List1'
+                                layout: (LayoutFrame 64 0.25 150 0 0 1 269 0)
+                                activeHelpKey: cvsRootPerModule
+                                tabable: true
+                                model: selectedPerModuleRoot
+                                hasHorizontalScrollBar: true
+                                hasVerticalScrollBar: true
+                                miniScrollerHorizontal: true
+                                useIndex: false
+                                sequenceList: listOfModules
+                              )
+                             (LabelSpec
+                                label: 'Module:'
+                                name: 'moduleLabel'
+                                layout: (LayoutFrame 0 0.0 279 0 60 0.25 296 0)
+                                activeHelpKey: cvsRootPerModuleModule
+                                translateLabel: true
+                                adjust: right
+                              )
+                             (InputFieldSpec
+                                name: 'perModuleRootModuleEntryField'
+                                layout: (LayoutFrame 64 0.25 275 0 0 1 297 0)
+                                activeHelpKey: cvsRootPerModuleModule
+                                tabable: true
+                                model: perModuleRootModule
+                                acceptChannel: acceptChannel
+                                acceptOnPointerLeave: true
+                              )
+                             (LabelSpec
+                                label: 'CVSRoot:'
+                                name: 'cvsRootLabel'
+                                layout: (LayoutFrame 0 0.0 304 0 60 0.25 321 0)
+                                activeHelpKey: cvsRootPerModuleRoot
+                                translateLabel: true
+                                adjust: right
+                              )
+                             (ComboBoxSpec
+                                name: 'perModuleRootComboBox'
+                                layout: (LayoutFrame 64 0.25 300 0 0 1.0 322 0)
+                                activeHelpKey: cvsRootPerModuleRoot
+                                tabable: true
+                                model: perModuleRoot
+                                immediateAccept: true
+                                acceptOnLeave: true
+                                acceptOnReturn: true
+                                acceptOnTab: true
+                                acceptOnLostFocus: true
+                                acceptChannel: acceptChannel
+                                acceptOnPointerLeave: true
+                                comboList: cvsRootPrototypeList
+                              )
+                             (HorizontalPanelViewSpec
+                                name: 'HorizontalPanel2'
+                                layout: (LayoutFrame 64 0.25 327 0 -1 1 352 0)
+                                horizontalLayout: fitSpace
+                                verticalLayout: center
+                                horizontalSpace: 3
+                                verticalSpace: 3
+                                component: 
+                               (SpecCollection
+                                  collection: (
+                                   (ActionButtonSpec
+                                      label: 'Add/Apply'
+                                      name: 'addButton'
+                                      activeHelpKey: addPerModuleRoot
+                                      translateLabel: true
+                                      tabable: true
+                                      model: addPerModuleRoot
+                                      extent: (Point 123 22)
+                                    )
+                                   (ActionButtonSpec
+                                      label: 'Remove'
+                                      name: 'removeButton'
+                                      activeHelpKey: removePerModuleRoot
+                                      translateLabel: true
+                                      tabable: true
+                                      model: removePerModuleRoot
+                                      enableChannel: removeEnabled
+                                      extent: (Point 124 22)
+                                    )
+                                   (ViewSpec
+                                      name: 'Box11'
+                                      extent: (Point 124 10)
+                                    )
+                                   (ActionButtonSpec
+                                      label: 'CVS-Login'
+                                      name: 'loginButton2'
+                                      activeHelpKey: loginPerModuleRoot
+                                      translateLabel: true
+                                      tabable: true
+                                      model: loginPerModuleRoot
+                                      enableChannel: cvsLoginInModuleEnabled
+                                      extent: (Point 124 22)
                                     )
                                    )
                                  
@@ -535,83 +497,82 @@
                              )
                            
                           )
-                          extent: (Point 662 351)
                         )
-                       (FramedBoxSpec
-                          label: 'Source Cache'
-                          name: 'FramedBox1'
-                          visibilityChannel: false
-                          labelPosition: topLeft
-                          translateLabel: true
+                       )
+                     
+                    )
+                    extent: (Point 800 389)
+                  )
+                 (FramedBoxSpec
+                    label: 'Source Cache'
+                    name: 'FramedBox1'
+                    visibilityChannel: false
+                    labelPosition: topLeft
+                    translateLabel: true
+                    component: 
+                   (SpecCollection
+                      collection: (
+                       (ViewSpec
+                          name: 'SourceCacheDirBox'
+                          layout: (LayoutFrame 0 0 0 0 0 1 30 0)
                           component: 
                          (SpecCollection
                             collection: (
-                             (ViewSpec
-                                name: 'SourceCacheDirBox'
-                                layout: (LayoutFrame 0 0 0 0 0 1 30 0)
-                                component: 
-                               (SpecCollection
-                                  collection: (
-                                   (LabelSpec
-                                      label: 'Source Cache Dir:'
-                                      name: 'SourceCacheDirLabel'
-                                      layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0)
-                                      translateLabel: true
-                                      adjust: right
-                                    )
-                                   (InputFieldSpec
-                                      name: 'SourceCacheDirEntryField'
-                                      layout: (LayoutFrame 64 0.25 0 0 0 1 22 0)
-                                      model: sourceCacheDir
-                                      immediateAccept: false
-                                      acceptOnReturn: true
-                                      acceptOnTab: true
-                                      acceptOnLostFocus: true
-                                      acceptOnPointerLeave: true
-                                    )
-                                   )
-                                 
-                                )
+                             (LabelSpec
+                                label: 'Source Cache Dir:'
+                                name: 'SourceCacheDirLabel'
+                                layout: (LayoutFrame 0 0.0 0 0 60 0.25 22 0)
+                                translateLabel: true
+                                adjust: right
                               )
-                             (HorizontalPanelViewSpec
-                                name: 'CacheActionsHorizontalPanel'
-                                layout: (LayoutFrame 44 0.25 33 0 0 1 67 0)
-                                horizontalLayout: fitSpace
-                                verticalLayout: center
-                                horizontalSpace: 3
-                                verticalSpace: 3
-                                component: 
-                               (SpecCollection
-                                  collection: (
-                                   (ActionButtonSpec
-                                      label: 'Flush Cache now'
-                                      name: 'FlushCacheNowButton'
-                                      translateLabel: true
-                                      tabable: true
-                                      model: flushSourceCache
-                                      extent: (Point 209 22)
-                                    )
-                                   (ActionButtonSpec
-                                      label: 'Condense Cache now'
-                                      name: 'CondenseCacheNowButton'
-                                      translateLabel: true
-                                      tabable: true
-                                      model: condenseSourceCache
-                                      extent: (Point 209 22)
-                                    )
-                                   )
-                                 
-                                )
+                             (InputFieldSpec
+                                name: 'SourceCacheDirEntryField'
+                                layout: (LayoutFrame 64 0.25 0 0 0 1 22 0)
+                                model: sourceCacheDir
+                                immediateAccept: false
+                                acceptOnReturn: true
+                                acceptOnTab: true
+                                acceptOnLostFocus: true
+                                acceptOnPointerLeave: true
                               )
                              )
                            
                           )
-                          extent: (Point 662 95)
+                        )
+                       (HorizontalPanelViewSpec
+                          name: 'CacheActionsHorizontalPanel'
+                          layout: (LayoutFrame 44 0.25 33 0 0 1 67 0)
+                          horizontalLayout: fitSpace
+                          verticalLayout: center
+                          horizontalSpace: 3
+                          verticalSpace: 3
+                          component: 
+                         (SpecCollection
+                            collection: (
+                             (ActionButtonSpec
+                                label: 'Flush Cache now'
+                                name: 'FlushCacheNowButton'
+                                translateLabel: true
+                                tabable: true
+                                model: flushSourceCache
+                                extent: (Point 261 22)
+                              )
+                             (ActionButtonSpec
+                                label: 'Condense Cache now'
+                                name: 'CondenseCacheNowButton'
+                                translateLabel: true
+                                tabable: true
+                                model: condenseSourceCache
+                                extent: (Point 261 22)
+                              )
+                             )
+                           
+                          )
                         )
                        )
                      
                     )
-                    extent: (Point 662 768)
+                    extent: (Point 800 95)
                   )
                  )
                
@@ -1182,9 +1143,9 @@
 !CVSSourceCodeManagementSettingsAppl class methodsFor:'documentation'!
 
 version
-    ^ '$Header: /cvs/stx/stx/libtool/CVSSourceCodeManagementSettingsAppl.st,v 1.13 2012-01-08 18:41:33 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/CVSSourceCodeManagementSettingsAppl.st,v 1.14 2012-01-09 22:58:28 cg Exp $'
 !
 
 version_CVS
-    ^ '$Header: /cvs/stx/stx/libtool/CVSSourceCodeManagementSettingsAppl.st,v 1.13 2012-01-08 18:41:33 cg Exp $'
+    ^ '$Header: /cvs/stx/stx/libtool/CVSSourceCodeManagementSettingsAppl.st,v 1.14 2012-01-09 22:58:28 cg Exp $'
 ! !