[jmsl] NotePropertiesTransformCommand / NotePropertiesTransform

jmsl at music.columbia.edu jmsl at music.columbia.edu
Fri Dec 7 14:40:31 EST 2007


I'm working with the EditManagerListener, and had a question:

I'm trying to get the subclass of NotePropertiesTransform that is  
called by scoreCommand executed.

I can do:
System.out.println(scoreCommand.getName());

but there's no guarantee of uniqueness with getName(), as multiple  
transforms might have the same names (though shouldn't, but there's  
nothing to protect against that).

Is this something that I could do through reflection/introspection?

I'm looking into coming up with an additional undo/redo mechanism for  
plug-ins that generate material.

thanks,
Peter McCulloch







More information about the jmsl mailing list