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

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 {

public void run(IProgressMonitor monitor) throws CoreException {
PlatformUI.getWorkbench().getDisplay().asyncExec(new Runnable() {
public void run() {

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

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

Current Time: Wed Oct 17 00:49:59 GMT 2018

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

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

Back to the top