Search in sources :

Example 6 with ButtonType

use of org.gwtbootstrap3.client.ui.constants.ButtonType in project kie-wb-common by kiegroup.

the class EditContributorsPopUpView method button.

private Button button(final String text, final Command command, final ButtonType type) {
    Button button = new Button(text, event -> command.execute());
    button.setType(type);
    return button;
}
Also used : Button(org.gwtbootstrap3.client.ui.Button)

Example 7 with ButtonType

use of org.gwtbootstrap3.client.ui.constants.ButtonType in project kie-wb-common by kiegroup.

the class AddProjectPopUpView method button.

private Button button(final String text, final Command command, final ButtonType type) {
    Button button = new Button(text, event -> command.execute());
    button.setType(type);
    return button;
}
Also used : Button(org.gwtbootstrap3.client.ui.Button)

Aggregations

Button (org.gwtbootstrap3.client.ui.Button)7