Search in sources :

Example 6 with IconStatusPanel

use of org.ovirt.engine.ui.common.widget.uicommon.vm.IconStatusPanel in project ovirt-engine by oVirt.

the class HostNetworkInterfaceListViewItem method createNeedsSyncStatusPanel.

protected IsWidget createNeedsSyncStatusPanel() {
    IconStatusPanel outOfSync = new IconStatusPanel(IconType.CHAIN_BROKEN);
    outOfSync.setColor(RED);
    WidgetTooltip tooltip = new WidgetTooltip(outOfSync);
    tooltip.setText(constants.hostOutOfSync());
    return tooltip;
}
Also used : IconStatusPanel(org.ovirt.engine.ui.common.widget.uicommon.vm.IconStatusPanel) WidgetTooltip(org.ovirt.engine.ui.common.widget.tooltip.WidgetTooltip)

Example 7 with IconStatusPanel

use of org.ovirt.engine.ui.common.widget.uicommon.vm.IconStatusPanel in project ovirt-engine by oVirt.

the class HostNetworkInterfaceListViewItem method createDropRateIcon.

protected IsWidget createDropRateIcon() {
    WidgetTooltip tooltip = new WidgetTooltip(new IconStatusPanel(IconType.ARROW_DOWN));
    tooltip.setText(constants.dropsInterface());
    return tooltip;
}
Also used : IconStatusPanel(org.ovirt.engine.ui.common.widget.uicommon.vm.IconStatusPanel) WidgetTooltip(org.ovirt.engine.ui.common.widget.tooltip.WidgetTooltip)

Aggregations

IconStatusPanel (org.ovirt.engine.ui.common.widget.uicommon.vm.IconStatusPanel)7 WidgetTooltip (org.ovirt.engine.ui.common.widget.tooltip.WidgetTooltip)6 Bond (org.ovirt.engine.core.common.businessentities.network.Bond)1