summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCurtis Windatt2013-04-10 11:19:00 (EDT)
committerCurtis Windatt2013-04-10 15:24:35 (EDT)
commite490339a3c409b5449b93727face30773e658f5e (patch)
tree110d37f15fca0c2a2404b0aec000fc5c70fe1e26
parent1ae94c6fb823e6b3ab31ec51740598db27fb3826 (diff)
downloadeclipse.pde.ui-e490339a3c409b5449b93727face30773e658f5e.zip
eclipse.pde.ui-e490339a3c409b5449b93727face30773e658f5e.tar.gz
eclipse.pde.ui-e490339a3c409b5449b93727face30773e658f5e.tar.bz2
Bug 405375 - Restore defaults doesn't work on the API Use Scans
preference page Change-Id: I901a0974192c3a648247ad3ccf80d78b0b127c20
-rw-r--r--apitools/org.eclipse.pde.api.tools.ui/src/org/eclipse/pde/api/tools/ui/internal/preferences/ApiUseScanPreferencePage.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/apitools/org.eclipse.pde.api.tools.ui/src/org/eclipse/pde/api/tools/ui/internal/preferences/ApiUseScanPreferencePage.java b/apitools/org.eclipse.pde.api.tools.ui/src/org/eclipse/pde/api/tools/ui/internal/preferences/ApiUseScanPreferencePage.java
index 991a4e5..61c1a02 100644
--- a/apitools/org.eclipse.pde.api.tools.ui/src/org/eclipse/pde/api/tools/ui/internal/preferences/ApiUseScanPreferencePage.java
+++ b/apitools/org.eclipse.pde.api.tools.ui/src/org/eclipse/pde/api/tools/ui/internal/preferences/ApiUseScanPreferencePage.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2010, 2011 IBM Corporation and others.
+ * Copyright (c) 2010, 2013 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -347,6 +347,8 @@ public class ApiUseScanPreferencePage extends PreferencePage implements IWorkben
protected void performDefaults() {
fLocationList.clear();
fTableViewer.refresh();
+ setValid(true);
+ setErrorMessage(null);
super.performDefaults();
}