Boris Heithecker wrote:
> I think you'll have to implement an action (extending Action or
> AbstractAction, not ActionListener) that implements
> "org.openide.util.ContextAwareAction". 
> Its business method is expected to create a proxy action for the context
> passed to it. This context is the current user selection of nodes, or
> the content of these nodes. 
> I guess you'd have to find various methods to extract your URI from this
> lookup and pass it to the proxy action created. For example look-up a
> Project and, if present, extract an URI. 
> If no URI at all can be extracted, nevertheless return an action, but
> its state should be disabled. 
> Hope it helps,

Thank you very much for this suggestion, Boris. That sounds like a good
direction to explore.

Best wishes,

Andreas

-- 
Dr. Andreas Sewe | s...@cqse.eu | +49 152 56342856
CQSE GmbH | Lichtenbergstrasse 8 | 85748 Garching | www.cqse.eu
Amtsgericht Muenchen | HRB 177678 | GF: F. Deissenboeck, M. Feilkas

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to