WindowBuilder.st
changeset 2690 b42670756688
parent 2610 4315c3f2ab4a
child 2744 166029185d1d
equal deleted inserted replaced
2689:59e90be25745 2690:b42670756688
  1159 
  1159 
  1160     ^ self 
  1160     ^ self 
  1161         safelyPerform:#specificationFor:
  1161         safelyPerform:#specificationFor:
  1162         with:aKey
  1162         with:aKey
  1163         ifNone:[ self aspectFor:aKey ]
  1163         ifNone:[ self aspectFor:aKey ]
       
  1164 !
       
  1165 
       
  1166 visualFor:aKey
       
  1167     "return a visual (icon, image) for aKey. This is invoked during window building
       
  1168      (by the builder) to ask for some graphical labels.
       
  1169      Here, first the local bindings are searched, then the application and
       
  1170      finally the applications class is asked for a corresponding action.
       
  1171      The returned object is typically an image or form."
       
  1172 
       
  1173     ^ self safelyPerform:#visualFor:
       
  1174                     with:aKey
       
  1175                   ifNone:[ self aspectAt:aKey ]
  1164 ! !
  1176 ! !
  1165 
  1177 
  1166 !WindowBuilder methodsFor:'spec creation callbacks'!
  1178 !WindowBuilder methodsFor:'spec creation callbacks'!
  1167 
  1179 
  1168 createdComponent:aView forSpec:spec named:name
  1180 createdComponent:aView forSpec:spec named:name
  1530 ! !
  1542 ! !
  1531 
  1543 
  1532 !WindowBuilder class methodsFor:'documentation'!
  1544 !WindowBuilder class methodsFor:'documentation'!
  1533 
  1545 
  1534 version
  1546 version
  1535     ^ '$Header: /cvs/stx/stx/libview2/WindowBuilder.st,v 1.138 2009-03-06 15:09:34 cg Exp $'
  1547     ^ '$Header: /cvs/stx/stx/libview2/WindowBuilder.st,v 1.139 2009-06-10 20:36:55 cg Exp $'
  1536 ! !
  1548 ! !