use of org.eclipse.equinox.internal.p2.ui.discovery.util.GradientCanvas in project epp.mpc by eclipse.
the class MarketplaceViewer method setSeparatorVisible.
protected static void setSeparatorVisible(CategoryItem<?> categoryItem, boolean visible) {
// FIXME introduce API in CategoryItem and then get rid of this
final Control childControl = categoryItem.getChildren()[0];
if (childControl instanceof GradientCanvas) {
GradientCanvas canvas = (GradientCanvas) childControl;
canvas.setSeparatorVisible(visible);
}
}
Aggregations