set handler action call menu item select applic menu param target object contain method param handler method invok handl menu item set handler object target method handler enabl menu target handler enabl menu set handler osx adapt handl target handler set handler enabl menu item call com appl eawt applic reflect method enabl method mac osx applic declar method set enabl menu enabl method invok mac osx applic object valu enabl menu except ex defin log lp log granular type statement log error osx adapt access menu ex endif 