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
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
---
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.
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
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