Example usage for com.vaadin.server FontAwesome TICKET

List of usage examples for com.vaadin.server FontAwesome TICKET

Introduction

In this page you can find the example usage for com.vaadin.server FontAwesome TICKET.

Prototype

FontAwesome TICKET

To view the source code for com.vaadin.server FontAwesome TICKET.

Click Source Link

Usage

From source file:com.mycollab.mobile.module.project.view.milestone.MilestoneReadViewImpl.java

License:Open Source License

@Override
protected ComponentContainer createBottomPanel() {
    MVerticalLayout toolbarLayout = new MVerticalLayout().withSpacing(false).withMargin(false);
    toolbarLayout.setDefaultComponentAlignment(Alignment.TOP_LEFT);
    ticketNavigatorButton = new TicketNavigatorButton();
    Component issueSection = FormSectionBuilder.build(FontAwesome.TICKET, ticketNavigatorButton);
    toolbarLayout.addComponent(issueSection);
    relatedComments = new CommentNavigationButton(ProjectTypeConstants.MILESTONE, beanItem.getId() + "");
    Component commentSection = FormSectionBuilder.build(FontAwesome.COMMENT, relatedComments);
    toolbarLayout.addComponent(commentSection);
    return toolbarLayout;
}