use of com.liferay.ide.kaleo.core.op.NewConditionNodeOp in project liferay-ide by liferay.
the class ConditionNodeAddActionHandler method createOp.
@Override
protected NewNodeOp createOp(Presentation context) {
NewConditionNodeOp op = NewConditionNodeOp.TYPE.instantiate();
op.getNewConditionNode().setScriptLanguage(KaleoModelUtil.getDefaultValue(context.part().getLocalModelElement(), KaleoCore.DEFAULT_SCRIPT_LANGUAGE_KEY, ScriptLanguageType.GROOVY));
return op;
}
Aggregations