Commit 679f1599 authored by Romain Bioteau's avatar Romain Bioteau

fix(documentTemplateWizard) fix expresison editor filter

parent 3074ae5a
......@@ -1113,6 +1113,7 @@ public class ExpressionCollectionViewer implements IBonitaVariableContext {
public void setViewerFilters(final List<ViewerFilter> viewerFilters) {
this.viewerFilters = viewerFilters;
if (expressionEditor != null) {
expressionEditor.getFilters().clear();
for (final ViewerFilter filter : viewerFilters) {
expressionEditor.addFilter(filter);
}
......@@ -1233,4 +1234,9 @@ public class ExpressionCollectionViewer implements IBonitaVariableContext {
addLineLineListeners.add(listener);
}
public void setExpressionEditorFilter(ViewerFilter filter) {
expressionEditor.getFilters().clear();
expressionEditor.addFilter(filter);
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment