| Summary: | Too many events fired, when using ISimpleNavigationNodeListener.markerChanged() | ||
|---|---|---|---|
| Product: | [RT] Riena | Reporter: | Steffen Kriese <steffen.kriese> |
| Component: | ridget | Assignee: | Nobody - feel free to take it <nobody> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | nobody |
| Version: | unspecified | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed for ErrorMarker and MandatoryMarker |
Suppose there is a view with 5 textridgets and each of them is set to mandatory(true) and in the configureRidgets-Method is a SimpleNavigationNodelistener like this: getNavigationNode().addSimpleListener(new SimpleNavigationNodeAdapter() { @Override public void markerChanged(INavigationNode<?> source, IMarker marker) { if (marker instanceof MandatoryMarker) { System.out.println("MandatoryMarker changed " + marker); } } }); If we now start typing text in one of the textridgets, we receive 4 markerChanged events. I would expect to receive a single event, because only one textridgets mandatory state changed. It seems like that an event for every textridget is fired, that didn't change.