Search in sources :

Example 1 with CustomDropdown

use of org.kie.workbench.common.screens.explorer.client.widgets.dropdown.CustomDropdown in project kie-wb-common by kiegroup.

the class NavigatorBreadcrumbs method build.

public void build(final CustomDropdown... headers) {
    breadcrumbs.clear();
    for (final CustomDropdown header : headers) {
        header.addStyleName(ProjectExplorerResources.INSTANCE.CSS().breadcrumbHeader());
        breadcrumbs.add(new ListItem() {

            {
                add(header);
            }
        });
    }
}
Also used : CustomDropdown(org.kie.workbench.common.screens.explorer.client.widgets.dropdown.CustomDropdown) AnchorListItem(org.gwtbootstrap3.client.ui.AnchorListItem) ListItem(org.gwtbootstrap3.client.ui.ListItem)

Aggregations

AnchorListItem (org.gwtbootstrap3.client.ui.AnchorListItem)1 ListItem (org.gwtbootstrap3.client.ui.ListItem)1 CustomDropdown (org.kie.workbench.common.screens.explorer.client.widgets.dropdown.CustomDropdown)1