Revision 3481 trunk/libraries/libFMap/src/com/iver/cit/gvsig/fmap/FMap.java

View differences:

FMap.java
110 110
	private ArrayList legendListeners = new ArrayList();
111 111
	private EventBuffer eventBuffer = new EventBuffer();
112 112
    private LayerEventListener layerEventListener=null;
113
	private ArrayList layersError=new ArrayList();
113 114
	// public static ResourceBundle myResourceBundle = ResourceBundle.getBundle("FMap");
114 115

  
115 116
	/**
......
575 576
	 *
576 577
	 * @throws XMLException
577 578
	 */
578
	public static FMap createFromXML(XMLEntity xml) throws XMLException {
579
	public static FMap createFromXML(XMLEntity xml) throws XMLException{
579 580
		ViewPort vp = ViewPort.createFromXML(xml.getChild(0));
580 581
		FMap fmap = new FMap(vp);
581 582
		fmap.layers.setXMLEntity(xml.getChild(1));
......
744 745
		}
745 746
		return isEqual;
746 747
	}
748

  
749
	public void addLayerError(String stringProperty) {
750
		layersError.add(stringProperty);
751
	}
752
	public ArrayList getLayersError(){
753
		return layersError;
754
	}
747 755
}

Also available in: Unified diff