IConfiguration initialized multiple times [message #1435958] |
Thu, 02 October 2014 07:30 |
|
Hi,
I recently observed that a configuration is initialized more than once during a single call against NatTable#configure().
Layers that i am using (in that order):
ZoomedDataLayer
ColumnReorderLayer
ColumnHideShowLayer
NatSelectionLayer
ViewportLayer
FreezeLayer
CompositeFreezeLayer
Due to my layer configuration the configure gets called 4 times for the same configuration instance. The duplicate calls are caused by the CompositeFreezLayer as this layer gets the freeze, viewport and selection layer and also calls the configure on those. Is this behavior intended?
Can also be reproduced using the sample application. Add a breakpoint into the DefaultSelectionBindings#configureUiBindings method and open the FreezeExample.
Regards,
Michael
|
|
|
|
|
|
Re: IConfiguration initialized multiple times [message #1436743 is a reply to message #1436644] |
Fri, 03 October 2014 10:48 |
|
This is an older release of our software where we also use an older version of the NatTable. The version that we use there does not have the fix that you did some time ago regarding the context menu that does not always show up when right clicking.
Therefore we decided to simply register a mouse listener to open the context menu instead of doing it with a MouseEventMatcher.
|
|
|
Powered by
FUDForum. Page generated in 0.02133 seconds