Revision 11588 branches/v10/extensions/extAnnotations/src/com/iver/cit/gvsig/fmap/edition/Annotation_EditableAdapter.java

View differences:

Annotation_EditableAdapter.java
427 427
	public Annotation_EditableAdapter(Annotation_Layer lyrAnnotation) {
428 428
		super();
429 429
//		this.labels=lyrAnnotation.getLabels();
430
		this.mapping=lyrAnnotation.getMapping();
430
		this.mapping=lyrAnnotation.getAnnotatonMapping();
431 431
		this.legend=lyrAnnotation.getLegend();
432 432
		this.isInPixels=lyrAnnotation.isInPixels();
433 433
		this.lyrAnnotation=lyrAnnotation;
......
497 497
				IFeature f=ova.getFeature(calculatedIndex);
498 498
				String s=f.getID();
499 499
//				FSymbol symbol=(FSymbol)((Annotation_Legend)legend).getSymbol(index);
500
				Annotation_Mapping mapping=lyrAnnotation.getMapping();
500
				Annotation_Mapping mapping=lyrAnnotation.getAnnotatonMapping();
501 501
				NumericValue vRotation = (NumericValue)f.getAttribute(mapping.getColumnRotate());
502 502
				NumericValue vHeight = (NumericValue)f.getAttribute(mapping.getColumnHeight());
503 503
				Value vText = f.getAttribute(mapping.getColumnText());
......
514 514
            IRowEdited aux = expansionFile.getRow(num);
515 515
            IFeature f=(IFeature)aux.getLinkedRow().cloneRow();
516 516
//            FSymbol symbol=(FSymbol)((Annotation_Legend)legend).getSymbol(index);
517
            Annotation_Mapping mapping=lyrAnnotation.getMapping();
517
            Annotation_Mapping mapping=lyrAnnotation.getAnnotatonMapping();
518 518
			NumericValue vRotation = (NumericValue)f.getAttribute(mapping.getColumnRotate());
519 519
			NumericValue vHeight = (NumericValue)f.getAttribute(mapping.getColumnHeight());
520 520
			Value vText = f.getAttribute(mapping.getColumnText());

Also available in: Unified diff