Revision 2993 trunk/extensions/extGeoreferencing/src/com/iver/cit/gvsig/georeferencing/GeoreferencingModule.java
GeoreferencingModule.java | ||
---|---|---|
46 | 46 |
*/ |
47 | 47 |
package com.iver.cit.gvsig.georeferencing; |
48 | 48 |
|
49 |
import java.awt.event.WindowEvent; |
|
50 |
|
|
51 | 49 |
import javax.swing.JDesktopPane; |
52 | 50 |
import javax.swing.JInternalFrame; |
53 | 51 |
import javax.swing.JLayeredPane; |
... | ... | |
57 | 55 |
import com.iver.andami.PluginServices; |
58 | 56 |
import com.iver.andami.plugins.Extension; |
59 | 57 |
import com.iver.andami.ui.mdiFrame.MDIFrame; |
58 |
import com.iver.cit.gvsig.AddLayer; |
|
60 | 59 |
import com.iver.cit.gvsig.fmap.MapControl; |
61 | 60 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
62 | 61 |
import com.iver.cit.gvsig.fmap.layers.FLyrPoints; |
63 | 62 |
import com.iver.cit.gvsig.gui.View; |
64 | 63 |
import com.iver.cit.gvsig.gui.Dialogs.GeoreferencingDialog; |
64 |
import com.iver.cit.gvsig.gui.Panels.GeoRasterWizard; |
|
65 |
import com.iver.cit.gvsig.gui.toc.FPopupMenu; |
|
66 |
import com.iver.cit.gvsig.gui.toc.GeoRasterTocMenuEntry; |
|
65 | 67 |
|
66 | 68 |
|
67 | 69 |
/** |
... | ... | |
104 | 106 |
* de georeferenciaci?n y se carga el wizard. |
105 | 107 |
*/ |
106 | 108 |
public void execute(String s) { |
107 |
GeoreferencingToolsModule.visible = true; |
|
109 |
//GeoreferencingToolsModule.visible = true;
|
|
108 | 110 |
PluginServices.getMainFrame().enableControls(); |
109 | 111 |
View vista = (View) PluginServices.getMDIManager().getActiveView(); |
110 | 112 |
MapControl mapCtrl = vista.getMapControl(); |
... | ... | |
140 | 142 |
* @see com.iver.andami.plugins.Extension#inicializar() |
141 | 143 |
*/ |
142 | 144 |
public void inicializar() { |
143 |
|
|
145 |
AddLayer.addWizard(GeoRasterWizard.class); |
|
146 |
FPopupMenu.addEntry(new GeoRasterTocMenuEntry()); |
|
144 | 147 |
} |
145 | 148 |
|
146 | 149 |
|
... | ... | |
157 | 160 |
if(lyr instanceof FLyrPoints && lyr.getName().startsWith("*")) |
158 | 161 |
theView.getMapControl().getMapContext().getLayers().removeLayer(i); |
159 | 162 |
} |
160 |
GeoreferencingToolsModule.visible = false; |
|
163 |
//GeoreferencingToolsModule.visible = false;
|
|
161 | 164 |
PluginServices.getMainFrame().enableControls(); |
162 | 165 |
} |
163 | 166 |
|
Also available in: Unified diff