Revision 11294

View differences:

trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/legend/gui/DotDensity.java
43 43
*
44 44
* $Id$
45 45
* $Log$
46
* Revision 1.3  2007-04-17 06:53:46  bsanchez
46
* Revision 1.4  2007-04-20 07:24:56  jaume
47
* *** empty log message ***
48
*
49
* Revision 1.3  2007/04/17 06:53:46  bsanchez
47 50
* - Corregido fallo de Double.MIN_VALUE por Double.NEGATIVE_INFINITY comentado por Victor Olaya.
48 51
*
49 52
* Revision 1.2  2007/03/09 11:25:00  jaume
......
110 113
import com.hardcode.gdbms.engine.data.DataSource;
111 114
import com.hardcode.gdbms.engine.data.DataSourceFactory;
112 115
import com.hardcode.gdbms.engine.values.NumericValue;
116
import com.hardcode.gdbms.engine.values.ValueFactory;
113 117
import com.iver.andami.PluginServices;
114 118
import com.iver.andami.messages.NotificationManager;
115 119
import com.iver.cit.gvsig.fmap.core.FShape;
......
378 382
    		symbol.addLayer(densitySymbol);
379 383

  
380 384
    		legend = new DotDensityLegend();
381
    		legend.addSymbol("theSymbol", symbol);
385
    		legend.addSymbol(ValueFactory.createValue("theSymbol"), symbol);
382 386
    		legend.setDefaultSymbol(symbol);
383 387
    		legend.setDotValue(dotValue);
384 388
    		legend.setFieldName(fieldName);

Also available in: Unified diff