Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorspingel2010-04-20 19:21:25 -0400
committerspingel2010-04-20 19:21:25 -0400
commit8d6ff75f692e7a90652156749a8f43e64816eadc (patch)
treefff947327dea4ce26f98497d7ec57e2594a99a83 /bundles/org.eclipse.equinox.p2.ui.discovery
parentf87dc37c1844e17dcfb54bb97b5f2aabef1af068 (diff)
downloadrt.equinox.p2-8d6ff75f692e7a90652156749a8f43e64816eadc.tar.gz
rt.equinox.p2-8d6ff75f692e7a90652156749a8f43e64816eadc.tar.xz
rt.equinox.p2-8d6ff75f692e7a90652156749a8f43e64816eadc.zip
bug 309875 - [discovery] support site verification
Diffstat (limited to 'bundles/org.eclipse.equinox.p2.ui.discovery')
-rw-r--r--bundles/org.eclipse.equinox.p2.ui.discovery/src/org/eclipse/equinox/internal/p2/ui/discovery/wizards/CatalogViewer.java4
1 files changed, 3 insertions, 1 deletions
diff --git a/bundles/org.eclipse.equinox.p2.ui.discovery/src/org/eclipse/equinox/internal/p2/ui/discovery/wizards/CatalogViewer.java b/bundles/org.eclipse.equinox.p2.ui.discovery/src/org/eclipse/equinox/internal/p2/ui/discovery/wizards/CatalogViewer.java
index 21b0c22a1..6bf54ecf1 100644
--- a/bundles/org.eclipse.equinox.p2.ui.discovery/src/org/eclipse/equinox/internal/p2/ui/discovery/wizards/CatalogViewer.java
+++ b/bundles/org.eclipse.equinox.p2.ui.discovery/src/org/eclipse/equinox/internal/p2/ui/discovery/wizards/CatalogViewer.java
@@ -16,6 +16,7 @@ import java.util.List;
import java.util.regex.Pattern;
import org.eclipse.core.runtime.*;
import org.eclipse.equinox.internal.p2.discovery.Catalog;
+import org.eclipse.equinox.internal.p2.discovery.compatibility.SiteVerifier;
import org.eclipse.equinox.internal.p2.discovery.model.*;
import org.eclipse.equinox.internal.p2.discovery.util.CatalogCategoryComparator;
import org.eclipse.equinox.internal.p2.discovery.util.CatalogItemComparator;
@@ -590,7 +591,8 @@ public class CatalogViewer extends FilteredViewer {
try {
context.run(true, true, new IRunnableWithProgress() {
public void run(IProgressMonitor monitor) {
- //discovery.verifySiteAvailability(monitor);
+ SiteVerifier verifier = new SiteVerifier(catalog);
+ verifier.verifySiteAvailability(monitor);
}
});
} catch (InvocationTargetException e) {

Back to the top