Revision 59

View differences:

org.gvsig.educa.thematicmap.app/trunk/org.gvsig.educa.thematicmap.app/org.gvsig.educa.thematicmap.app.viewer/src/main/java/org/gvsig/educa/thematicmap/app/viewer/ui/ThematicMapDocumentViewer.java
41 41
import org.gvsig.educa.thematicmap.app.viewer.ThematicMapDocument;
42 42
import org.gvsig.educa.thematicmap.map.CantLoadContextException;
43 43
import org.gvsig.educa.thematicmap.map.InvalidThematicMapFormatException;
44
import org.gvsig.educa.thematicmap.map.ThematicMap;
45
import org.gvsig.educa.thematicmap.map.ThematicMapInformation;
44 46
import org.gvsig.educa.thematicmap.swing.ThematicMapSwingLocator;
45 47
import org.gvsig.educa.thematicmap.swing.ThematicMapSwingManager;
46 48
import org.gvsig.educa.thematicmap.swing.viewer.ThematicMapViewer;
......
180 182
        return viewer;
181 183
    }
182 184

  
185
    /**
186
     * @return the viewer
187
     */
188
    public ThematicMap getThematicMap() {
189
        return viewer.getThematicMap();
190
    }
191

  
192
    /**
193
     * @return the viewer
194
     */
195
    public ThematicMapInformation getThematicMapInformation() {
196
        return viewer.getThematicMap().getInformation();
197
    }
198

  
183 199
    // IWindow interface
184 200

  
185 201
    public WindowInfo getWindowInfo() {
......
248 264
        return model;
249 265
    }
250 266

  
267
    public ThematicMapDocument getThematicMapDocument() {
268
        return model;
269
    }
270

  
251 271
    /**
252 272
     * Changes in source document
253 273
     * 

Also available in: Unified diff