Search in sources :

Example 1 with Paragraph

use of org.gwtbootstrap3.client.ui.html.Paragraph in project ovirt-engine by oVirt.

the class AbstractMainWithDetailsTableView method addResultPanel.

private void addResultPanel(ActionPanelPresenterWidget<T, M> actionPanel) {
    resultRow = new Row();
    resultRow.addStyleName(PatternflyConstants.PF_TOOLBAR_RESULTS);
    FlowPanel resultColumn = new FlowPanel();
    resultRow.add(resultColumn);
    // $NON-NLS-1$
    resultColumn.add(new Paragraph(constants.activeTags() + ":"));
    resultList = new UnorderedList();
    resultList.addStyleName(Styles.LIST_INLINE);
    resultList.getElement().getStyle().setPaddingLeft(10, Unit.PX);
    resultColumn.add(resultList);
    resultRow.setVisible(false);
    actionPanel.setFilterResultPanel(resultRow);
}
Also used : FlowPanel(com.google.gwt.user.client.ui.FlowPanel) UnorderedList(org.gwtbootstrap3.client.ui.html.UnorderedList) Row(org.gwtbootstrap3.client.ui.Row) Paragraph(org.gwtbootstrap3.client.ui.html.Paragraph)

Example 2 with Paragraph

use of org.gwtbootstrap3.client.ui.html.Paragraph in project kie-wb-common by kiegroup.

the class UserHomePageSideView method setupHomeLink.

@Override
public void setupHomeLink(Anchor anchor) {
    Paragraph p = GWT.create(Paragraph.class);
    p.add(anchor);
    user.add(p);
}
Also used : Paragraph(org.gwtbootstrap3.client.ui.html.Paragraph)

Aggregations

Paragraph (org.gwtbootstrap3.client.ui.html.Paragraph)2 FlowPanel (com.google.gwt.user.client.ui.FlowPanel)1 Row (org.gwtbootstrap3.client.ui.Row)1 UnorderedList (org.gwtbootstrap3.client.ui.html.UnorderedList)1