[jboss-jira] [JBoss JIRA] (DROOLS-2465) [DMN Editor] Decision Navigator dock: Optimize the `ExpressionEditorChanged` event
Guilherme Carreiro (JIRA)
issues at jboss.org
Mon Apr 9 11:09:01 EDT 2018
Guilherme Carreiro created DROOLS-2465:
------------------------------------------
Summary: [DMN Editor] Decision Navigator dock: Optimize the `ExpressionEditorChanged` event
Key: DROOLS-2465
URL: https://issues.jboss.org/browse/DROOLS-2465
Project: Drools
Issue Type: Enhancement
Reporter: Guilherme Carreiro
Assignee: Guilherme Carreiro
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_r180110750].
--
This message was sent by Atlassian JIRA
(v7.5.0#75005)
More information about the jboss-jira
mailing list