See JFace? You could also write your own that kept an instance of each
widget and called setEnabled() etc. if the instance was not null.
<soni29@xxxxxxxxxxx> wrote in message news:oprr5orpfefilmat@xxxxxxxxxxxx
Hi,
thank you for the response, i could use the same listener, but with
Action
objects you can use the same obj for the menu and toolbar in swing, both
have a add() that accepts Actions. nice things is with little things
like
disabling a option, rather than doing it twice, just do it once and in
both
places its disabled. Also the Action object is its own listener so you
get
both supporting the same action from it. but considering that i'm just
playing around with swt right now, i could just the same one, just
curious.
Thank you.
On Fri, 11 Jul 2003 12:17:42 -0400, Steve Northover
<steve_northover@xxxxxxxxxx> wrote:
--
Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/