pre_v1_9_Build_1251
Fixed problem of active window.
see #2419
#2322
Only show files of type *.gva (gvSIG annotations). Show a sensible error to user if layer could not be opened. Fixes: 1472
Load system wide settings the first time the dialog is loaded
Remove unnecessary imports
Rename .gva to .shp before opening the layer; make ConfigTargetLayer window to be modal, otherwise the combo-box may contain outdated layers if the user removes a layer from TOC
Don't try to add the label if the target layer was removed from TOC
Add dynamic tolerance to improve user experience
Remove unnecessary Behavior; PointBehavior is enough for this purpose
New function insert: - public Object getWindowProfile() : this function is to get the profile from all the windows that implement IWindow interface.
Use annotation's own drawing cache to improve performance; increment variable in the do...while loop
Layout corrections
Show layers in reverse order (to match the TOC's logical order)
Add drawing cache to avoid re-drawings while adding labels
Add text properties to the dialog; layout the dialog in a diferent fashion
Create new layer only if it doesn't exist; remove the Apply button because it's producing some errors; add equals method to ComboItem to correctly initialize the combo
Layout fixes
Lots of bugfixes: apply the queryByPoint to all the active layers until we find a clicked feature; close the edition when the target layer changes; use the text properties selected in the UI; also listen the TARGET_LAYER_CHANGED event.
Add SingleLabeling