typeItem = new TextItem("type", Console.CONSTANTS.common_label_type());
scopeItem = new MultiselectListBoxItem("scope", "Scope", 3);
includeAllItem = new CheckBoxItem("includeAll", "Include All");
form.setFields(nameItem, baseRoleItem, typeItem, scopeItem, includeAllItem);
form.setEnabled(false);
form.setToolsCallback(new FormCallback() {
@Override
public void onSave(final Map changeSet) {
Role edited = form.getEditedEntity();
if (edited != null) {
edited.setBaseRole(baseRoleItem.getValue());