use of io.jmix.ui.Actions in project jmix by jmix-framework.
the class EntityPickerLoader method addEntityPickerDefaultActions.
protected void addEntityPickerDefaultActions() {
Actions actions = getActions();
resultComponent.addAction(actions.create(EntityLookupAction.ID));
resultComponent.addAction(actions.create(EntityClearAction.ID));
}
use of io.jmix.ui.Actions in project jmix by jmix-framework.
the class EntitySuggestionFieldLoader method addDefaultActions.
protected void addDefaultActions() {
Actions actions = getActions();
getResultComponent().addAction(actions.create(EntityLookupAction.ID));
getResultComponent().addAction(actions.create(EntityOpenAction.ID));
}
use of io.jmix.ui.Actions in project jmix by jmix-framework.
the class AbstractComponentLoader method loadValuePickerDeclarativeAction.
protected Action loadValuePickerDeclarativeAction(ActionsHolder actionsHolder, Element element) {
String type = element.attributeValue("type");
if (StringUtils.isNotEmpty(type)) {
Actions actions = getActions();
String id = loadActionId(element);
Action action = actions.create(type, id);
initAction(element, action);
return action;
}
return loadDeclarativeActionDefault(actionsHolder, element);
}
Aggregations