Search in sources :

Example 6 with Option

use of org.jboss.errai.common.client.dom.Option in project kie-wb-common by kiegroup.

the class TimerSettingsFieldEditorView method newOption.

private Option newOption(final String text, final String value) {
    final Option option = newOption();
    option.setTextContent(text);
    option.setValue(value);
    return option;
}
Also used : Option(org.jboss.errai.common.client.dom.Option)

Example 7 with Option

use of org.jboss.errai.common.client.dom.Option in project kie-wb-common by kiegroup.

the class GenericServiceTaskEditorWidget method newOption.

Option newOption(final String text, final String value) {
    final Option option = (Option) Window.getDocument().createElement("option");
    option.setTextContent(text);
    option.setValue(value);
    return option;
}
Also used : Option(org.jboss.errai.common.client.dom.Option)

Example 8 with Option

use of org.jboss.errai.common.client.dom.Option in project kie-wb-common by kiegroup.

the class ScriptTypeFieldEditorView method newOption.

private Option newOption(final String text, final String value) {
    final Option option = (Option) Window.getDocument().createElement("option");
    option.setTextContent(text);
    option.setValue(value);
    return option;
}
Also used : Option(org.jboss.errai.common.client.dom.Option)

Example 9 with Option

use of org.jboss.errai.common.client.dom.Option in project kie-wb-common by kiegroup.

the class KSessionSelectorViewImpl method createOption.

private Option createOption(final String value) {
    Option option = (Option) document.createElement("option");
    option.setText(value);
    return option;
}
Also used : Option(org.jboss.errai.common.client.dom.Option)

Example 10 with Option

use of org.jboss.errai.common.client.dom.Option in project kie-wb-common by kiegroup.

the class LibraryToolbarView method createOption.

Option createOption(String ou) {
    Option option = (Option) document.createElement("option");
    option.setText(ou);
    option.setValue(ou);
    return option;
}
Also used : Option(org.jboss.errai.common.client.dom.Option)

Aggregations

Option (org.jboss.errai.common.client.dom.Option)11 Test (org.junit.Test)1 DataSourceDefMainPanelViewImpl_emptyOption (org.kie.workbench.common.screens.datasource.management.client.resources.i18n.DataSourceManagementConstants.DataSourceDefMainPanelViewImpl_emptyOption)1