irstv/orbisgis — pull request #104 by agueganno (2012-08-28 09:24:47+00:00)
Title: Add proportional lines in the simple editor.

This bunch of commits adds the ability to manage proportional lines from the simple editor. They are built from PenStroke instance whose width is a Interpolate2Real made directly on a field (i.e. there's no intermediate function between the interpolation and the field, as there is in proportional points).

In order to achieve this, I've had to add some missing features in ProportionalLine, in the Legend library. We now have Uoms, proper management of the feature name, and we manage Number instances to set the values of the interpolation rather than double values.

From the UI point of view, this work is really closed of what had been made for unique symbol lines and for proportional points. Nothing exceptional here. However, you'll notice that I've added a method in Symbolizer (absolutely not in view, but in core, I know :-p) to refresh the content of the feature HashSet. It was not properly manged until now when changing the field value in the editor. It's ugly. It must be called externally. I don't like it. I'll remove it. However, it's an efficient quick fix, so I've kept it for the clarity of this PR.

This PR also remove all the @brief in the javadoc. And we now use PX as default Uom in VectorSymbolizer in order to match SE2 requirements.