Search in sources :

Example 1 with ActionImpl

use of org.asqatasun.webapp.action.ActionImpl in project Asqatasun by Asqatasun.

the class ActionBuilderImpl method build.

@Override
public Action build() {
    Action action = new ActionImpl();
    action.setActionCode(this.actionCode);
    action.setActionI81NCode(this.actionI81NCode);
    action.setActionUrl(this.actionUrl);
    action.setDisabledActionImageUrl(this.disabledActionImageUrl);
    action.setEnabledActionImageUrl(this.enabledActionImageUrl);
    action.setCssSelector(cssSelector);
    action.setActionAltI81NCode(this.actionAltI81NCode);
    // By default an action is disabled
    action.setActionEnabled(false);
    return action;
}
Also used : Action(org.asqatasun.webapp.action.Action) ActionImpl(org.asqatasun.webapp.action.ActionImpl)

Aggregations

Action (org.asqatasun.webapp.action.Action)1 ActionImpl (org.asqatasun.webapp.action.ActionImpl)1