Search in sources :

Example 1 with ButtonType

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

the class CopyPopupWithPackageView method button.

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 2 with ButtonType

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

the class DeleteOrganizationalUnitPopUpView 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 3 with ButtonType

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

the class OrganizationalUnitPopUpView 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 4 with ButtonType

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

the class PopUpUtils method button.

public static 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 5 with ButtonType

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

the class ImportRepositoryPopUpView 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