Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Mylyn » Manage button accessibility in Repository Setting Page(WizardDialog.restoreUIState() overrides the user setting)
Manage button accessibility in Repository Setting Page [message #651061] Thu, 27 January 2011 16:03
Evgeny Avtsin is currently offline Evgeny AvtsinFriend
Messages: 4
Registered: November 2009
Junior Member
Hello,

I need updating accessibility of a plugin-added button in Repository Setting Page following user input .
setEnabled() is called for the appropriate button from the validator.

The code looks:
public class MyValidator extends org.eclipse.mylyn.tasks.ui.wizards.AbstractRepositorySetting sPage.Validator {

@Override
public void run(IProgressMonitor monitor) throws CoreException {
...
PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
public void run() {
MyButton.setEnabled(enable);

But the value is immediately overridden by WizardDialog.restoreUIState()
How could I preserve my setting?

Thank you in advance,
Evgeny
Previous Topic:Eclipse Navigator view not showing all context classes
Next Topic:bugzilla custom workflow
Goto Forum:
  


Current Time: Thu Apr 25 03:32:53 GMT 2024

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

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

Back to the top