Tools__ViewTreeApplication.st
changeset 3824 7d83538ca900
parent 3806 17b4f413d051
child 3827 d4de0de1a991
equal deleted inserted replaced
3823:fefcdd086a7d 3824:7d83538ca900
   193 ! !
   193 ! !
   194 
   194 
   195 !ViewTreeInspectorApplication class methodsFor:'image specs'!
   195 !ViewTreeInspectorApplication class methodsFor:'image specs'!
   196 
   196 
   197 crossHairIcon
   197 crossHairIcon
       
   198     <resource: #programImage>
       
   199 
   198     ^ ToolbarIconLibrary bigCrossHairIcon
   200     ^ ToolbarIconLibrary bigCrossHairIcon
       
   201 !
       
   202 
       
   203 defaultIcon
       
   204     <resource: #programImage>
       
   205 
       
   206     ^ ToolbarIconLibrary viewInspect22x22Icon
   199 !
   207 !
   200 
   208 
   201 lockViewIcon
   209 lockViewIcon
   202     "This resource specification was automatically generated
   210     "This resource specification was automatically generated
   203      by the ImageEditor of ST/X."
   211      by the ImageEditor of ST/X."
   266      Tools::ViewTreeInspectorApplication open
   274      Tools::ViewTreeInspectorApplication open
   267     "
   275     "
   268 
   276 
   269     <resource: #canvas>
   277     <resource: #canvas>
   270 
   278 
   271     ^
   279     ^ 
   272     #(FullSpec
   280     #(FullSpec
   273        name: windowSpec
   281        name: windowSpec
   274        window:
   282        uuid: 'aebcdd46-3384-11b2-a28b-00d861a3d4eb'
       
   283        window: 
   275       (WindowSpec
   284       (WindowSpec
   276 	 label: 'View Tree Inspector'
   285          label: 'View Tree Inspector'
   277 	 name: 'View Tree Inspector'
   286          name: 'View Tree Inspector'
   278 	 min: (Point 10 10)
   287          uuid: 'aebcdfb2-3384-11b2-a28b-00d861a3d4eb'
   279 	 max: (Point 1024 9999)
   288          min: (Point 10 10) max: (Point 1024 9999) bounds: (Rectangle 0 0 693 643) menu: menu
   280 	 bounds: (Rectangle 0 0 693 643)
   289          icon: defaultIcon
   281 	 menu: menu
   290       ) component: 
   282        )
       
   283        component:
       
   284       (SpecCollection
   291       (SpecCollection
   285 	 collection: (
   292          collection: (
   286 	  (MenuPanelSpec
   293           (MenuPanelSpec
   287 	     name: 'toolbarMenu'
   294              name: 'toolbarMenu'
   288 	     layout: (LayoutFrame 0 0.0 0 0 0 1.0 40 0)
   295              layout: (LayoutFrame 0 0.0 0 0 0 1.0 40 0) uuid: 'aebce2fa-3384-11b2-a28b-00d861a3d4eb'
   289 	     menu: toolbarMenu
   296              menu: toolbarMenu
   290 	     textDefault: true
   297              textDefault: true
   291 	   )
   298           )
   292 	  (VariableVerticalPanelSpec
   299           (VariableVerticalPanelSpec
   293 	     name: 'VariableVerticalPanel1'
   300              name: 'VariableVerticalPanel1'
   294 	     layout: (LayoutFrame 0 0.0 40 0.0 0 1.0 0 1.0)
   301              layout: (LayoutFrame 0 0.0 40 0.0 0 1.0 0 1.0) uuid: 'aebce480-3384-11b2-a28b-00d861a3d4eb'
   295 	     component:
   302              component: 
   296 	    (SpecCollection
   303             (SpecCollection
   297 	       collection: (
   304                collection: (
   298 		(ViewSpec
   305                 (ViewSpec
   299 		   name: 'PathAndListPane'
   306                    name: 'PathAndListPane'
   300 		   component:
   307                    uuid: 'aebce5e8-3384-11b2-a28b-00d861a3d4eb'
   301 		  (SpecCollection
   308                    component: 
   302 		     collection: (
   309                   (SpecCollection
   303 		      (ViewSpec
   310                      collection: (
   304 			 name: 'PathPane'
   311                       (ViewSpec
   305 			 layout: (LayoutFrame 0 0 0 0 0 1 25 0)
   312                          name: 'PathPane'
   306 			 component:
   313                          layout: (LayoutFrame 0 0 0 0 0 1 25 0) uuid: 'aebce67e-3384-11b2-a28b-00d861a3d4eb'
   307 			(SpecCollection
   314                          component: 
   308 			   collection: (
   315                         (SpecCollection
   309 			    (InputFieldSpec
   316                            collection: (
   310 			       name: 'Path'
   317                             (InputFieldSpec
   311 			       layout: (LayoutFrame 0 0 0 0 0 1 0 1)
   318                                name: 'Path'
   312 			       model: path
   319                                layout: (LayoutFrame 0 0 0 0 0 1 0 1) uuid: 'aebce6ec-3384-11b2-a28b-00d861a3d4eb'
   313 			       acceptOnReturn: true
   320                                model: path
   314 			       acceptOnTab: true
   321                                acceptOnReturn: true
   315 			       acceptOnPointerLeave: true
   322                                acceptOnTab: true
   316 			       emptyFieldReplacementText: 'No View Selected'
   323                                acceptOnPointerLeave: true
   317 			     )
   324                                emptyFieldReplacementText: 'No View Selected'
   318 			    )
   325                             )
   319 
   326                           )
   320 			 )
   327                         )
   321 		       )
   328                       )
   322 		      (HierarchicalListViewSpec
   329                       (HierarchicalListViewSpec
   323 			 name: 'List'
   330                          name: 'List'
   324 			 layout: (LayoutFrame 0 0 25 0 0 1 0 1)
   331                          layout: (LayoutFrame 0 0 25 0 0 1 0 1) uuid: 'aebce8e0-3384-11b2-a28b-00d861a3d4eb'
   325 			 level: 1
   332                          level: 1
   326 			 model: model
   333                          model: model
   327 			 menu: middleButtonMenu
   334                          menu: middleButtonMenu
   328 			 hasHorizontalScrollBar: true
   335                          hasHorizontalScrollBar: true
   329 			 hasVerticalScrollBar: true
   336                          hasVerticalScrollBar: true
   330 			 miniScrollerHorizontal: true
   337                          miniScrollerHorizontal: true
   331 			 miniScrollerVertical: false
   338                          miniScrollerVertical: false
   332 			 listModel: listOfItems
   339                          listModel: listOfItems
   333 			 multipleSelectOk: true
   340                          multipleSelectOk: true
   334 			 useIndex: false
   341                          useIndex: false
   335 			 highlightMode: label
   342                          highlightMode: label
   336 			 showLeftIndicators: false
   343                          showLeftIndicators: false
   337 			 indicatorSelector: indicatorClicked:
   344                          indicatorSelector: indicatorClicked:
   338 			 useDefaultIcons: false
   345                          useDefaultIcons: false
   339 			 postBuildCallback: postBuildTree:
   346                          postBuildCallback: postBuildTree:
   340 		       )
   347                       )
   341 		      )
   348                     )
   342 
   349                   )
   343 		   )
   350                 )
   344 		 )
   351                 (ViewSpec
   345 		(ViewSpec
   352                    name: 'Box2'
   346 		   name: 'Box2'
   353                    uuid: 'aebceb6a-3384-11b2-a28b-00d861a3d4eb'
   347 		   component:
   354                    component: 
   348 		  (SpecCollection
   355                   (SpecCollection
   349 		     collection: (
   356                      collection: (
   350 		      (TabViewSpec
   357                       (TabViewSpec
   351 			 name: 'TabHeader1'
   358                          name: 'TabHeader1'
   352 			 layout: (LayoutFrame 0 0.0 0 0 0 1.0 25 0)
   359                          layout: (LayoutFrame 0 0.0 0 0 0 1.0 25 0) uuid: 'aebcebe2-3384-11b2-a28b-00d861a3d4eb'
   353 			 model: inspectorModeIndexHolder
   360                          model: inspectorModeIndexHolder
   354 			 menu: inspectorModes
   361                          menu: inspectorModes
   355 			 useIndex: true
   362                          useIndex: true
   356 			 translateLabel: true
   363                          translateLabel: true
   357 		       )
   364                       )
   358 		      (SubCanvasSpec
   365                       (SubCanvasSpec
   359 			 name: 'Browser'
   366                          name: 'Browser'
   360 			 layout: (LayoutFrame 0 0 26 0 0 1 0 1)
   367                          layout: (LayoutFrame 0 0 26 0 0 1 0 1) uuid: 'aebced36-3384-11b2-a28b-00d861a3d4eb'
   361 			 visibilityChannel: browserVisibleHolder
   368                          visibilityChannel: browserVisibleHolder
   362 			 hasHorizontalScrollBar: true
   369                          hasHorizontalScrollBar: true
   363 			 hasVerticalScrollBar: true
   370                          hasVerticalScrollBar: true
   364 			 majorKey: #'Tools::NewSystemBrowser'
   371                          majorKey: #'Tools::NewSystemBrowser'
   365 			 minorKey: singleClassWithoutVariableListBrowserSpec
   372                          minorKey: singleClassWithoutVariableListBrowserSpec
   366 			 createNewApplication: true
   373                          createNewApplication: true
   367 			 createNewBuilder: true
   374                          createNewBuilder: true
   368 			 postBuildCallback: postBuildBrowserCanvas:
   375                          postBuildCallback: postBuildBrowserCanvas:
   369 		       )
   376                       )
   370 		      (ViewSpec
   377                       (ViewSpec
   371 			 name: 'Inspector'
   378                          name: 'Inspector'
   372 			 layout: (LayoutFrame 0 0 26 0 0 1 0 1)
   379                          layout: (LayoutFrame 0 0 26 0 0 1 0 1) uuid: 'aebceec6-3384-11b2-a28b-00d861a3d4eb'
   373 			 visibilityChannel: inspectorVisibleHolder
   380                          visibilityChannel: inspectorVisibleHolder
   374 			 postBuildCallback: postBuildInspectorView:
   381                          viewClassName: 'InspectorView'
   375 			 viewClassName: 'InspectorView'
   382                          postBuildCallback: postBuildInspectorView:
   376 		       )
   383                       )
   377 		      )
   384                     )
   378 
   385                   )
   379 		   )
   386                 )
   380 		 )
   387               )
   381 		)
   388             ) handles: (Any 0.5 1.0)
   382 
   389           )
   383 	     )
   390         )
   384 	     handles: (Any 0.5 1.0)
   391       )
   385 	   )
   392     )
   386 	  )
       
   387 
       
   388        )
       
   389      )
       
   390 ! !
   393 ! !
   391 
   394 
   392 !ViewTreeInspectorApplication class methodsFor:'menu specs'!
   395 !ViewTreeInspectorApplication class methodsFor:'menu specs'!
   393 
   396 
   394 menu
   397 menu