use of org.ovirt.engine.ui.common.widget.uicommon.network.BondedNetworkIcon in project ovirt-engine by oVirt.
the class HostNetworkInterfaceBondedListViewItem method createIcon.
@Override
protected IsWidget createIcon() {
InterfaceStatus interfaceStatus = getEntity().getInterface().getStatistics().getStatus();
SafeHtml bondPropertiesMessage = createBondTooltipMessage(getEntity(), interfaceStatus);
SafeHtml bondMessage = templates.italicWordWrapMaxWidthWithBoldTitle(constants.bondProperties(), bondPropertiesMessage);
WidgetTooltip iconTooltip = new WidgetTooltip(new BondedNetworkIcon());
iconTooltip.setHtml(bondMessage);
iconPanel.add(iconTooltip);
return iconPanel;
}
Aggregations