Edgar J. De Cleene wrote:
I load into the still unreleased 3.10alpha , just for as we intent major changes, and your project is a challenge one for compatibility issues.
indeed :)
I must do some guess and assumptions, but have working.
In "MGraph registerExternalDropHandlers
(MGraphMusicFile newFromFile: dropStream fullName) openInHand]}. {'st'. [:dropStream |
'.st' is used for code load , so you could consider a change ?
you are right, this will be changed in the next release.
see the attached file: I removed handling of .st, .cs, .sar, .morph and projects since Squeak already takes care of this.
is it ok now ?
regards,
Stef
'From Squeak3.8 of ''5 May 2005'' [latest update: #6665] on 25 January 2007 at 10:28:15 pm'!
!MGraph class methodsFor: 'initialize' stamp: 'spfa 1/25/2007 22:28'! registerExternalDropHandlers
"MGraph registerExternalDropHandlers"
"ExternalDropHandler initialize"
{{'csd' . [:dropStream | (MGraphMusicFile newFromFile: dropStream fullName) openInHand]} .
{'sco' . [:dropStream | (MGraphMusicFile newFromFile: dropStream fullName) openInHand]} .
{'orc' . [:dropStream | (MGraphCsoundComposer newFromFile: dropStream fullName) openInHand]} .
{'wav' . [:dropStream | (MGraphMusicFile newFromFile: dropStream fullName) openInHand]} . {'mid' . [:dropStream | (MGraphMusicFile newFromFile: dropStream fullName) openInHand]} . {'midi' . [:dropStream | (MGraphMusicFile newFromFile: dropStream fullName) openInHand]} . } do: [:ea | ExternalDropHandler registerHandler: (ExternalDropHandler type: nil extension: ea first action: ea second)]. ! !