Ok, This was what I thought.
thanks for the help!.
Hernan.
_
--
I agree with Larry. See if you can split your code into two plug-ins.
Your plug-ins can share the common classes they need in your library
JAR.
The Sunburned Surveyor
On Tue, Jun 1, 2010 at 8:36 AM, Larry Becker wrote:
> Hi,
>
> You might try to install an ActionListener for each menu item wit
Hi,
You might try to install an ActionListener for each menu item within your
initialize method that sets a class variable that remembers the menu item.
This is difficult.
Usually though, it just best to have a class that does the work and two
plugins, each with their own menu item.
regards,
Hi all!
I got only one plugin with diferents menu items, each of them call a diferent
method. Therefore inside the method execute(PlugInContext context) ¿how can i
know which button is pressed? so i can call the correct method.
public void initialize(PlugInContext context) throws Exce