David T. Lewis uploaded a new version of System to project The Trunk:
http://source.squeak.org/trunk/System-dtl.247.mcz==================== Summary ====================
Name: System-dtl.247
Author: dtl
Time: 10 February 2010, 4:22:44.045 pm
UUID: 5579a378-28f1-4074-854d-91432e31eb55
Ancestors: System-dtl.246
Remove VMC/Morphic dependencies from Form, FileList2, and Imports
Update Imports>>viewImages
Add Project>>formViewClass
Add Project>>openImage:name:saveResource:
=============== Diff against System-dtl.246 ===============
Item was added:
+ ----- Method: Project>>openImage:name:saveResource: (in category 'editors') -----
+ openImage: aForm name: fullName saveResource: aBoolean
+ "Open a view on an image. If aBoolean is true, save the image as a project resource."
+
+ self subclassResponsibility!
Item was added:
+ ----- Method: Project>>formViewClass (in category 'editors') -----
+ formViewClass
+ "Answer a class suitable for a view on a form or collection of forms"
+
+ self subclassResponsibility!
Item was changed:
----- Method: Imports>>viewImages (in category 'images') -----
viewImages
"Open up a special Form inspector on the dictionary of graphical imports."
"Imports default viewImages"
+
- | widgetClass |
imports size isZero ifTrue:
[^ self inform:
'The ImageImports repository is currently empty,
so there is nothing to view at this time. You can
use a file list to import graphics from external files
into Imports, and once you have done that,
you will find this command more interesting.'].
+ Project current formViewClass openOn: imports withLabel: 'Graphical Imports'
- widgetClass := Project current isMorphic
- ifTrue: [GraphicalDictionaryMenu]
- ifFalse: [FormInspectView].
- widgetClass openOn: imports withLabel: 'Graphical Imports'
!