Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Rich Client Platform (RCP) » Get previous selection after disable and enable radio drop down menu in Eclipse 3.7 RCP(How can i get back the previous selected item in radio drop down menu after disable and enable it.)
Get previous selection after disable and enable radio drop down menu in Eclipse 3.7 RCP [message #1748825] Tue, 29 November 2016 06:31
Yoz Yoz is currently offline Yoz YozFriend
Messages: 2
Registered: August 2015
Junior Member
I am new to eclipse RCP and I am using eclipse 3.7 (indigo) with JavaSE-1.7. I am trying to get back the previous selection of a radio drop down menu after i disable and enable it using setBaseEnabled(), but unable to do it. Attached in this post is the project that simulate my question.
1. default option is option 1
2. select option 2 in option menu
3. double click on Two to disable option menu
4. I can see that the disabled menu has selected back option 1
5. double click on One to enable back option menu
6. the selected option still remain as option 1 like when it is disabled

My question is that is there any way i can get the previous selected option (in this case option 2) after i disable and enable it? it seems like it will reset the selection to default.
  • Attachment: Test.zip
    (Size: 20.16KB, Downloaded 53 times)
Previous Topic:Use default preferences for a workspace
Next Topic:Hiding "Build Project" and "Clean Project" menu entries
Goto Forum:
  


Current Time: Mon Sep 24 15:03:38 GMT 2018

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

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

Back to the top