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);
}
Aggregations