You should be able to write your own class that registers itself as a
litener to the TargetManager.

You can then enable or disable your actions whenever you detect that
the correct targets are selected.

Bob.


On 6/25/06, Agustín Marín Ortega <[EMAIL PROTECTED]> wrote:
Hello, we have a problem with our menu (JMenu) in our external module.

We have created a JMenu with several JMenuItems from our loadable main
module class. We need that several of them doesn't appear enable in certain
situations, e.g. StateChar Diagram in ArgoUML, only be enable when other
diagram are created or some elements of the diagram are selected.

How can we do it? Any idea?

Regards.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to