Search in sources :

Example 1 with Catalogs

use of org.eclipse.epp.internal.mpc.core.model.Catalogs in project epp.mpc by eclipse.

the class DefaultCatalogService method listCatalogs.

public List<? extends ICatalog> listCatalogs(IProgressMonitor monitor) throws CoreException {
    // $NON-NLS-1$
    Catalogs result = processRequest("catalogs/" + API_URI_SUFFIX, monitor);
    List<Catalog> catalogs = result.getCatalogs();
    for (Catalog catalog : catalogs) {
        registerDynamicFavoritesService(catalog);
    }
    return catalogs;
}
Also used : Catalogs(org.eclipse.epp.internal.mpc.core.model.Catalogs) ICatalog(org.eclipse.epp.mpc.core.model.ICatalog) Catalog(org.eclipse.epp.internal.mpc.core.model.Catalog)

Aggregations

Catalog (org.eclipse.epp.internal.mpc.core.model.Catalog)1 Catalogs (org.eclipse.epp.internal.mpc.core.model.Catalogs)1 ICatalog (org.eclipse.epp.mpc.core.model.ICatalog)1