]
Jozef Marko closed DROOLS-2465.
-------------------------------
Resolution: Out of Date
[DMN Editor] Decision Navigator dock: Optimize the
`ExpressionEditorChanged` event
----------------------------------------------------------------------------------
Key: DROOLS-2465
URL:
https://issues.redhat.com/browse/DROOLS-2465
Project: Drools
Issue Type: Enhancement
Components: DMN Editor
Affects Versions: 7.8.0.Final
Reporter: Guilherme Gomes
Assignee: Guilherme Gomes
Priority: Minor
The `ExpressionEditorChanged` it's being fired many times.
Check the scenario:
When the `DMNGridLayer.select(GridWidget)` method is called, it calls
`BaseGridWidget.select()`. This will trigger the `ExpressionEditorChanged` X times, where
X is the number of grids on the layer. This is not optimal.
Check the same problem in the `deselect` method.
See more
[
here|https://github.com/kiegroup/kie-wb-common/pull/1542#discussion_r1801...].