[jmsl] NotePropertiesTransformCommand / NotePropertiesTransform

jmsl at music.columbia.edu jmsl at music.columbia.edu
Sat Dec 15 09:36:40 EST 2007


Hi Peter

ScoreCommandCenter has a method which returns an Enumeration of names.  
Check out..

public static Enumeration getCommandNames()

Will this do it for you?

Thanks
Nick Didkovsky

jmsl at music.columbia.edu wrote:
> 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
>
>
>
>
>
> _______________________________________________
> jmsl mailing list
> jmsl at music.columbia.edu
> http://music.columbia.edu/mailman/listinfo/jmsl


More information about the jmsl mailing list