Skip to main content


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 12:15 Go to next message
Sumit Singh is currently offline Sumit SinghFriend
Messages: 141
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 15:44 Go to previous messageGo to next message
Mickael Istria is currently offline Mickael IstriaFriend
Messages: 865
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 10:39 Go to previous message
Sumit Singh is currently offline Sumit SinghFriend
Messages: 141
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: Tue Apr 23 14:52:05 GMT 2024

Powered by FUDForum. Page generated in 0.02778 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top