Revision 4827 trunk/extensions/extGPS/src/org/gvsig/gps/tools/PointCalibrate.java
PointCalibrate.java | ||
---|---|---|
43 | 43 |
* |
44 | 44 |
* $Id$ |
45 | 45 |
* $Log$ |
46 |
* Revision 1.6 2006-04-11 20:01:18 jaume
|
|
46 |
* Revision 1.7 2006-04-12 06:51:35 jaume
|
|
47 | 47 |
* *** empty log message *** |
48 | 48 |
* |
49 | 49 |
* Revision 1.5 2006/04/11 13:27:30 jaume |
... | ... | |
77 | 77 |
import org.cresques.cts.gt2.CoordSys; |
78 | 78 |
import org.cresques.cts.gt2.CoordTrans; |
79 | 79 |
import org.gvsig.gps.GPSDriver; |
80 |
import org.gvsig.gps.exceptions.GPSReceiverException;
|
|
80 |
import org.gvsig.gps.panel.GPSConfigPanel;
|
|
81 | 81 |
|
82 | 82 |
import com.iver.andami.PluginServices; |
83 |
import com.iver.andami.ui.mdiManager.SingletonView; |
|
83 | 84 |
import com.iver.cit.gvsig.fmap.tools.BehaviorException; |
84 | 85 |
import com.iver.cit.gvsig.fmap.tools.Events.PointEvent; |
85 | 86 |
import com.iver.cit.gvsig.fmap.tools.Listeners.PointListener; |
86 | 87 |
import com.iver.cit.gvsig.gui.View; |
87 |
import com.iver.utiles.XMLEntity; |
|
88 | 88 |
|
89 | 89 |
public class PointCalibrate implements PointListener { |
90 | 90 |
|
... | ... | |
117 | 117 |
JOptionPane.showMessageDialog((Component)PluginServices.getMainFrame(), PluginServices.getText(this, "gps_not_ready") ); |
118 | 118 |
|
119 | 119 |
view.getMapControl().setTool(previousToolName); |
120 |
com.iver.andami.ui.mdiManager.View views[] = PluginServices.getMDIManager().getAllViews(); |
|
121 |
for (int i = 0; i < views.length; i++) { |
|
122 |
if (views[i] instanceof SingletonView) { |
|
123 |
SingletonView s = (SingletonView) views[i]; |
|
124 |
if (s.getViewModel().equals(GPSConfigPanel.viewModel)) |
|
125 |
PluginServices.getMDIManager().addView(s); |
|
126 |
} |
|
127 |
} |
|
128 |
|
|
120 | 129 |
} |
121 | 130 |
|
122 | 131 |
public void pointDoubleClick(PointEvent event) throws BehaviorException {} |
Also available in: Unified diff