Re: [JPP-Devel] SVN: [5830] core/trunk

2018-06-04 Thread edgar . soldin
hey Mike, On 04.06.2018 00:37, jump-pilot-svn--- via Jump-pilot-devel wrote: > +if (e.getType() == LayerEventType.METADATA_CHANGED) { > + //If layer becomes editable, apply row striping > + // and remove gridlines, > + //as recommended in Java Loo

Re: [JPP-Devel] SVN: [5830] core/trunk

2018-06-04 Thread edgar . soldin
On 04.06.2018 13:49, Michaël Michaud wrote: > You're probably right, but that's not so simple because the LayerManager > does't know which layer each layerListener relates to. yeah, i see now. kind of an oversight API-wise ;(.. but worked until now. so i'd rather do something else :)).. ede ---

Re: [JPP-Devel] SVN: [5830] core/trunk

2018-06-04 Thread Michaël Michaud
Hi, You're probably right, but that's not so simple because the LayerManager does't know which layer each layerListener relates to. Maybe we need to keep a reference to the Layer in LayerListeners or to replace the layerListener list of the LayerManager by a Map mapping layers to Listeners.

Re: [JPP-Devel] SVN: [5830] core/trunk

2018-06-04 Thread edgar . soldin
hey Mike, On 04.06.2018 00:37, jump-pilot-svn--- via Jump-pilot-devel wrote: > also remove layerListeners added with associated to AttributeTablePanel, > AttributeTab, OneLayerAttributeTab, ViewAttributesFrame, InfoFrame, > WorkbenchFrame, EnsureAllLayersHaveSrid when the Layer is removed

[JPP-Devel] SVN: [5830] core/trunk

2018-06-03 Thread jump-pilot-svn--- via Jump-pilot-devel
Revision: 5830 http://sourceforge.net/p/jump-pilot/code/5830 Author: michaudm Date: 2018-06-03 22:37:16 + (Sun, 03 Jun 2018) Log Message: --- also remove layerListeners added with associated to AttributeTablePanel, AttributeTab, OneLayerAttributeTab, ViewAttributesFr