PackageDescription: Assets-IDE

Assets - IDE

Last published: June 4, 2007 by 'tgriggs'

Defines 2 Classes
Extends 6 Classes

This package is meant to be used by a developer to build up and maintain Assets subclasses using the Smalltalk IDE. It provides a menu options in the browser's class menu for importing and synchronizing assets via directory selection.

The package is separated from the core Assets package so that the external file importing/syncing behavior is not something a normal application needs to require as a prerequisite.

The package extends the IDE to show one additional menu items:
- "Sync Assets"
This menu item is in the Class Menu. Invoking it will sync the selected Asset class. If this is the first time you've synced it, it will prompt you for a directory to import from. After the first time, it will remember the directory for future syncing. Sync'ing involves checking the file's md5sum against what is stored in the method. If it does not match, the method is regenerated so that the once block again produces an object consistent with that of the file. In the event that a directory is synced against, there are asset methods for which no file was found, the user will be given the chance to remove these or let them stay.

This menu will show up (i.e. it is completely hidden, not just disabled) only when Assets classes are selected.