Skip to main content



      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 11:03
Eclipse UserFriend
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: Sun Jun 15 15:31:26 EDT 2025

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

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

Back to the top