Revision 37338 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/view/gui/BaseView.java

View differences:

BaseView.java
47 47
import javax.swing.JSplitPane;
48 48

  
49 49
import org.cresques.cts.IProjection;
50
import org.gvsig.fmap.swing.toc.TOC;
50 51

  
51 52
import com.iver.andami.PluginServices;
52 53
import com.iver.andami.messages.NotificationManager;
......
59 60
import com.iver.cit.gvsig.project.documents.gui.WindowData;
60 61
import com.iver.cit.gvsig.project.documents.view.IProjectView;
61 62
import com.iver.cit.gvsig.project.documents.view.MapOverview;
62
import com.iver.cit.gvsig.project.documents.view.toc.gui.TOC;
63 63
import com.iver.utiles.exceptionHandling.ExceptionListener;
64 64

  
65 65
//import javax.swing.JSplitPane;
......
287 287
			}
288 288
		}
289 289
		if (m_TOC!=null) {
290
			windowData.set("TOC.Width", Integer.toString(m_TOC.getWidth()));
291
			windowData.set("TOC.Height", Integer.toString(m_TOC.getHeight()));
290
			windowData.set("TOC.Width", Integer.toString(m_TOC.getComponent().getWidth()));
291
			windowData.set("TOC.Height", Integer.toString(m_TOC.getComponent().getHeight()));
292 292
		}
293 293
		if (m_MapControl!=null) {
294 294
			windowData.set("MapControl.Width", Integer.toString(m_MapControl.getWidth()));

Also available in: Unified diff