Re: [jarp-developer] Petri tools interface
Brought to you by:
ricardo_padilha
From: Filip L. <fil...@ma...> - 2001-01-30 22:07:55
|
Hi, > The getMenuItem() method returns a JMenuItem that _must_ process it's own > ActionEvents. The getToolButton purpose is to create a toolbar button that > also must process it's own events. Both methods are required to get the > necessary resources following the argument "locale", which reflects the > language choice. I just remembered the javax.swing.Action interface and AbstractAction class. Using those it seem we only need one method: "Action[] getActions()". What do you think? BR, --- Filip Larsen <fil...@ma...> |