Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: UDIG 1.1.1, UDIG 1.2.M7
-
Fix Version/s: UDIG 1.2.1
-
Component/s: application, framework, tools and editing
-
Labels:None
-
Patch attached:Yes
Description
.. but other preferences the PropertyValues checks for. It's a problem everybody could run into if extending udig. the effect can described as follows:
- i created an operation, used the net.refractions.udig.ui.operation extension point to get an Action for the targetClass net.refractions.udig.project.ILayer
- subclassed AbstractPropertyValue and created my own PropertyValue class (checks preferences for layer using a preferences store)
- the user select a layer, changed the preference for the selected layer and as a result an operation should be available within the context menu of the still selected layer
BUT the action (OpAction) is not visible (PropertyValue would return true) because the selection didn't changed.
If the customer deselects the layer and selects it again it works.
But it is possible to run into performance issues if PropertyValue implementations are very heavy.
see patchfile
UDIG-1594(Performance issue in GeometryProperty)