Search in sources :

Example 1 with DiscoveryResources

use of org.eclipse.equinox.internal.p2.ui.discovery.wizards.DiscoveryResources in project epp.mpc by eclipse.

the class CatalogSwitcher method createHeader.

private void createHeader(Composite parent) {
    CatalogCategory fakeCategory = new CatalogCategory();
    fakeCategory.setName(Messages.CatalogSwitcher_Header);
    CategoryItem<CatalogCategory> header = new CategoryItem<CatalogCategory>(parent, SWT.NONE, new DiscoveryResources(parent.getDisplay()), fakeCategory);
    MarketplaceViewer.setSeparatorVisible(header, false);
    MarketplaceViewer.fixLayout(header);
}
Also used : CatalogCategory(org.eclipse.equinox.internal.p2.discovery.model.CatalogCategory) DiscoveryResources(org.eclipse.equinox.internal.p2.ui.discovery.wizards.DiscoveryResources) CategoryItem(org.eclipse.equinox.internal.p2.ui.discovery.wizards.CategoryItem)

Aggregations

CatalogCategory (org.eclipse.equinox.internal.p2.discovery.model.CatalogCategory)1 CategoryItem (org.eclipse.equinox.internal.p2.ui.discovery.wizards.CategoryItem)1 DiscoveryResources (org.eclipse.equinox.internal.p2.ui.discovery.wizards.DiscoveryResources)1