Revision 1682 org.gvsig.raster.georeferencing/trunk/org.gvsig.raster.georeferencing/org.gvsig.raster.georeferencing.framework/org.gvsig.raster.georeferencing.framework.andami/src/main/java/org/gvsig/raster/georeferencing/framework/andami/GeoreferencingAndamiFrameworkManagerImpl.java

View differences:

GeoreferencingAndamiFrameworkManagerImpl.java
1 1
/* gvSIG. Geographic Information System of the Valencian Government
2 2
 *
3
 * Copyright (C) 2007-2008 Infrastructures and Transports Department
3
 * Copyright (C) 2007-2013 Infrastructures and Transports Department
4 4
 * of the Valencian Government (CIT)
5 5
 *
6 6
 * This program is free software; you can redistribute it and/or
......
40 40
	//private static final Logger           logger                         = LoggerFactory.getLogger(GeoreferencingAndamiFrameworkManagerImpl.class);
41 41
	private static final int              smallWindowsHeight             = 140;
42 42
	private static final int              smallWindowsWidth              = 220;
43
	private static final double           smallWindowsWidthPercent              = 0.5;
43
	private static final double           smallWindowsWidthPercent       = 0.5;
44 44
	private List<GeorefViewWindow>        windowList                     = new ArrayList<GeorefViewWindow>();
45 45
	private HashMap<JPanel, AndamiWindow> windows                        = new HashMap<JPanel, AndamiWindow>();
46
    private int                           borderWidth                    = 0;
47
    private int                           borderHeight                   = 0;
48 46
    private int                           preferredWidth                 = 0;
49 47
    private int                           preferredHeight                = 0;
50 48
	
......
122 120
		gbc.fill = GridBagConstraints.BOTH;
123 121
		gbc.weightx = 1;
124 122
		gbc.weighty = 1;
123
		gbc.gridwidth = 1;
125 124

  
126 125
		gbc.gridx = 0;
127
		gbc.gridy = 0;
126
		mainPanel.add(env.getViewBaseCartography(), gbc);
127
		gbc.gridx = 1;
128 128
		mainPanel.add(env.getViewRasterToGeoref(), gbc);
129 129
		
130 130
		gbc.fill = GridBagConstraints.HORIZONTAL;
131 131
		gbc.weighty = 0;
132 132
		gbc.gridx = 0;
133 133
		gbc.gridy = 1;
134
		gbc.gridwidth = 2;
134 135
		JPanel p = fixPanelWithReference(env.getTable(), env.getViewZoomRasterToGeoref(), env.getViewZoomBaseCartography());
135 136
		mainPanel.add(p, gbc);
136 137
		

Also available in: Unified diff