My application has a large tree in the left-hand side with context menus
(different) on every node of the tree.  So, the context menu actions are
highly context-sensitive (the "Properties" item, obviously, would need
to know the exact selected object that the context menu was brought up
on in order to get the right Properties dialog).

 

So, my question is:  what is "best practice" as far as Pivot goes in
order to transmit this context into the Action.perform() method?  The
"Expenses" tutorial seems to rely on global variables and using
"getSelectedRow" on that TableView object.  So, is this the best way?
Is there some way I don't see to get the context directly in the Action
object?

 

Thanks.

 

Roger Whitcomb

Architect, Engineering

Ingres Corporation

[email protected] <mailto:[email protected]> 

 

PHONE +1 650.587.5596

FAX +1 650.587.5550

 

www.ingres.com <http://www.ingres.com/>  

 

This transmission is confidential and intended solely for the use of the
recipient named above. It may contain confidential, proprietary, or
legally privileged information. If you are not the intended recipient,
you are hereby notified that any unauthorized review, use, disclosure or
distribution is strictly prohibited. If you have received this
transmission in error, please contact the sender by reply e-mail and
delete the original transmission and all copies from your system.

 

Reply via email to