Search in sources :

Example 1 with ExpandableListViewItem

use of org.ovirt.engine.ui.common.widget.listgroup.ExpandableListViewItem in project ovirt-engine by oVirt.

the class VmInterfaceListGroupItem method createGeneralAdditionalInfo.

private IsWidget createGeneralAdditionalInfo() {
    FlowPanel panel = new FlowPanel();
    panel.addStyleName(PatternflyConstants.PF_LIST_VIEW_ADDITIONAL_INFO_ITEM);
    generalExpand = new ExpandableListViewItem(SafeHtmlUtils.fromString(constants.generalLabel()));
    getClickHandlerRegistrations().add(generalExpand.addClickHandler(this));
    panel.add(generalExpand);
    return panel;
}
Also used : FlowPanel(com.google.gwt.user.client.ui.FlowPanel) ExpandableListViewItem(org.ovirt.engine.ui.common.widget.listgroup.ExpandableListViewItem)

Example 2 with ExpandableListViewItem

use of org.ovirt.engine.ui.common.widget.listgroup.ExpandableListViewItem in project ovirt-engine by oVirt.

the class VmInterfaceListGroupItem method createGuestAgentAdditionalInfo.

private IsWidget createGuestAgentAdditionalInfo() {
    FlowPanel panel = new FlowPanel();
    panel.addStyleName(PatternflyConstants.PF_LIST_VIEW_ADDITIONAL_INFO_ITEM);
    guestAgentExpand = new ExpandableListViewItem(SafeHtmlUtils.fromString(constants.guestAgentData()));
    getClickHandlerRegistrations().add(guestAgentExpand.addClickHandler(this));
    panel.add(guestAgentExpand);
    return panel;
}
Also used : FlowPanel(com.google.gwt.user.client.ui.FlowPanel) ExpandableListViewItem(org.ovirt.engine.ui.common.widget.listgroup.ExpandableListViewItem)

Example 3 with ExpandableListViewItem

use of org.ovirt.engine.ui.common.widget.listgroup.ExpandableListViewItem in project ovirt-engine by oVirt.

the class VmSnapshotListViewItem method createAppsAdditionalInfo.

private IsWidget createAppsAdditionalInfo() {
    FlowPanel panel = new FlowPanel();
    panel.addStyleName(PatternflyConstants.PF_LIST_VIEW_ADDITIONAL_INFO_ITEM);
    installedAppsExpand = new ExpandableListViewItem(SafeHtmlUtils.fromString(constants.applicationsLabel()), IconType.NEWSPAPER_O.getCssName());
    getClickHandlerRegistrations().add(installedAppsExpand.addClickHandler(this));
    panel.add(installedAppsExpand);
    return panel;
}
Also used : FlowPanel(com.google.gwt.user.client.ui.FlowPanel) ExpandableListViewItem(org.ovirt.engine.ui.common.widget.listgroup.ExpandableListViewItem)

Example 4 with ExpandableListViewItem

use of org.ovirt.engine.ui.common.widget.listgroup.ExpandableListViewItem in project ovirt-engine by oVirt.

the class VmSnapshotListViewItem method createDisksAdditionalInfo.

private IsWidget createDisksAdditionalInfo() {
    FlowPanel panel = new FlowPanel();
    panel.addStyleName(PatternflyConstants.PF_LIST_VIEW_ADDITIONAL_INFO_ITEM);
    disksExpand = new ExpandableListViewItem(SafeHtmlUtils.fromString(constants.disksLabel()), IconType.DATABASE.getCssName());
    getClickHandlerRegistrations().add(disksExpand.addClickHandler(this));
    panel.add(disksExpand);
    return panel;
}
Also used : FlowPanel(com.google.gwt.user.client.ui.FlowPanel) ExpandableListViewItem(org.ovirt.engine.ui.common.widget.listgroup.ExpandableListViewItem)

Example 5 with ExpandableListViewItem

use of org.ovirt.engine.ui.common.widget.listgroup.ExpandableListViewItem in project ovirt-engine by oVirt.

the class VmSnapshotListViewItem method createNicsAdditionalInfo.

private IsWidget createNicsAdditionalInfo() {
    FlowPanel panel = new FlowPanel();
    panel.addStyleName(PatternflyConstants.PF_LIST_VIEW_ADDITIONAL_INFO_ITEM);
    nicsExpand = new ExpandableListViewItem(SafeHtmlUtils.fromString(constants.nicsLabel()), PatternflyIconType.PF_NETWORK.getCssName());
    getClickHandlerRegistrations().add(nicsExpand.addClickHandler(this));
    panel.add(nicsExpand);
    return panel;
}
Also used : FlowPanel(com.google.gwt.user.client.ui.FlowPanel) ExpandableListViewItem(org.ovirt.engine.ui.common.widget.listgroup.ExpandableListViewItem)

Aggregations

FlowPanel (com.google.gwt.user.client.ui.FlowPanel)10 ExpandableListViewItem (org.ovirt.engine.ui.common.widget.listgroup.ExpandableListViewItem)10 IsWidget (com.google.gwt.user.client.ui.IsWidget)1 ArrayList (java.util.ArrayList)1 HostInterface (org.ovirt.engine.ui.uicommonweb.models.hosts.HostInterface)1 HostVLan (org.ovirt.engine.ui.uicommonweb.models.hosts.HostVLan)1