[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Re: AbstractAction in SWT?

Thank you for the reponse, i'll look into jface, do you know of any good tutorials? the only things i have right now on swt are some small lecture notes from a prof. i found online, but there was no mention on jface in it. any idea where i can find a nice free tutorial?

Thank you.

On Mon, 14 Jul 2003 11:22:39 -0400, Steve Northover <steve_northover@xxxxxxxxxx> wrote:

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/






-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/