Search in sources :

Example 1 with UserOrGroup

use of org.ovirt.engine.core.searchbackend.VdcUserConditionFieldAutoCompleter.UserOrGroup in project ovirt-engine by oVirt.

the class AbstractPermissionsPopupPresenterWidget method onReveal.

@Override
protected void onReveal() {
    super.onReveal();
    UserOrGroup searchType = UserOrGroup.User;
    if (getModel().getSearchType() == AdSearchType.GROUP) {
        searchType = UserOrGroup.Group;
    }
    getView().userTypeChanged(searchType, true);
}
Also used : UserOrGroup(org.ovirt.engine.core.searchbackend.VdcUserConditionFieldAutoCompleter.UserOrGroup)

Aggregations

UserOrGroup (org.ovirt.engine.core.searchbackend.VdcUserConditionFieldAutoCompleter.UserOrGroup)1