Revision 634
org.gvsig.report/trunk/org.gvsig.report/org.gvsig.report.app/org.gvsig.report.app.mainplugin/src/main/java/org/gvsig/report/app/mainplugin/AppReportServices.java | ||
---|---|---|
109 | 109 |
|
110 | 110 |
@Override |
111 | 111 |
public BufferedImage getViewImage(String viewName, Dimension dimension, Envelope envelope) { |
112 |
// TODO: implements dimension |
|
113 | 112 |
|
114 | 113 |
ApplicationManager application = ApplicationLocator.getManager(); |
115 | 114 |
Project project = application.getCurrentProject(); |
116 | 115 |
|
117 |
ViewDocument view = (ViewDocument) project.getDocument(viewName); |
|
116 |
ViewDocument view = (ViewDocument) project.getDocument(viewName, ViewManager.TYPENAME);
|
|
118 | 117 |
if (view == null) { |
119 | 118 |
LOG.warn("Can't locate view name '" + viewName + "'."); |
120 | 119 |
return null; |
Also available in: Unified diff