Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » SWTBot » How enable and disable buttons using event in SWT.(How enable and disable buttons using event in SWT.)
How enable and disable buttons using event in SWT. [message #1006466] Thu, 31 January 2013 07:15 Go to next message
sumit singh is currently offline sumit singh
Messages: 129
Registered: October 2012
Location: Bangalore
Senior Member

I'm creating one swt project . In that i have 1 dialog with 4 buttons.
What i need:
With one Button which is enable if i click then other will enable and this will disable.
And again from other button if i click all other should disable and 1st one should enable.

How I'm doing
Simple way to do this is create one function which invert the visibility. and call that method from widget Selection event.

What i want
Is there is any other way (Standard) to do this like using fireevent.


Thanks
Re: How enable and disable buttons using event in SWT. [message #1006539 is a reply to message #1006466] Thu, 31 January 2013 10:44 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael Istria
Messages: 738
Registered: July 2009
Location: Grenoble, France
Senior Member
Hi,

Please ask this question on the SWT forum:
http://www.eclipse.org/forums/index.php/f/100/

--
Mickael Istria
JBoss, by Red Hat
My blog: http://mickaelistria.wordpress.com
My Tweets: http://twitter.com/mickaelistria
Re: How enable and disable buttons using event in SWT. [message #1006655 is a reply to message #1006539] Fri, 01 February 2013 05:39 Go to previous message
sumit singh is currently offline sumit singh
Messages: 129
Registered: October 2012
Location: Bangalore
Senior Member

Ok thanks Mickael.
Previous Topic:Bug or Error? Using SWTBot and Juno
Next Topic:Eclipse Juno & SWTBot : Clicking on a Context menu of tree Item throws exception
Goto Forum:
  


Current Time: Fri Aug 01 20:24:41 EDT 2014

Powered by FUDForum. Page generated in 0.01509 seconds