From: chasee <cha...@ya...> - 2003-08-18 23:15:14
|
Hi Slava: Thank you for the response! However, why I did'nt see something like mouseClicked/mousePressed( ) in MouseHandler, which is the mouse action listener? Thank you so much. Slava Pestov <sl...@je...> wrote: Hi, The EnhancedMenuItem's action listener calls the invoke() method of an action object, which in most cases is a BeanShellAction so this method evaluates some BeanShell code. On Wed, Aug 13, 2003 at 04:50:43PM -0700, chasee wrote: > > Can someone give me a hint when a menu item is selected, how the action event of a menu item selection (for example, the user select File -> Open) is converted to a code in the actions.xml and by which classes? I assume that the next step is to call BeanShell to invoke the corresponding method of Buffer, in this case loading the selected file. Please let me know if my understanding is not proper or totally wrong. > > > > Thanks a lot. > > > > Regards, > > > > > > thanks, > chasee > > --------------------------------- > Do you Yahoo!? > The New Yahoo! Search - Faster. Easier. Bingo. -- Slava Pestov ------------------------------------------------------- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa00100003ave/direct;at.aspnet_072303_01/01 -- ----------------------------------------------- jEdit Users' List jEd...@li... https://lists.sourceforge.net/lists/listinfo/jedit-users thanks, chasee --------------------------------- Do you Yahoo!? The New Yahoo! Search - Faster. Easier. Bingo. |