Revision 7020 trunk/libraries/libJCRS/src/org/gvsig/crs/ui/TransformationEpsgPanel.java
TransformationEpsgPanel.java | ||
---|---|---|
23 | 23 |
import javax.swing.table.DefaultTableModel; |
24 | 24 |
import javax.swing.table.TableColumn; |
25 | 25 |
|
26 |
import org.cresques.cts.CrsException; |
|
27 | 26 |
import org.cresques.cts.IProjection; |
28 | 27 |
import org.cresques.ui.DefaultDialogPanel; |
29 |
import org.gvsig.crs.Crs; |
|
30 | 28 |
import org.gvsig.crs.CrsFactory; |
31 | 29 |
import org.gvsig.crs.ICrs; |
32 | 30 |
import org.gvsig.crs.Query; |
33 | 31 |
import org.gvsig.crs.ogr.GetTransepsg; |
34 | 32 |
|
35 | 33 |
import com.iver.andami.PluginServices; |
36 |
import com.iver.andami.ui.mdiManager.View; |
|
37 |
import com.iver.andami.ui.mdiManager.ViewInfo; |
|
38 |
//import com.iver.cit.gvsig.gui.View; |
|
34 |
import com.iver.andami.ui.mdiManager.IWindow; |
|
35 |
import com.iver.andami.ui.mdiManager.WindowInfo; |
|
39 | 36 |
import com.iver.cit.gvsig.gui.panels.ProjChooserPanelTransformation; |
40 | 37 |
|
41 |
public class TransformationEpsgPanel extends DefaultDialogPanel implements View {
|
|
38 |
public class TransformationEpsgPanel extends DefaultDialogPanel implements IWindow {
|
|
42 | 39 |
|
43 | 40 |
|
44 | 41 |
/** |
... | ... | |
225 | 222 |
} |
226 | 223 |
|
227 | 224 |
public void cancelButton_actionPerformed(ActionEvent e) { |
228 |
PluginServices.getMDIManager().closeView(this);
|
|
225 |
PluginServices.getMDIManager().closeWindow(this);
|
|
229 | 226 |
} |
230 | 227 |
|
231 | 228 |
private JButton getButtonAccept() { |
... | ... | |
247 | 244 |
public void acceptButton_actionPerformed(ActionEvent e) { |
248 | 245 |
GetTransepsg epsgParams = new GetTransepsg(trasnformation_code,pcpt); |
249 | 246 |
setValues(epsgParams.getParamValue()); |
250 |
PluginServices.getMDIManager().closeView(this);
|
|
247 |
PluginServices.getMDIManager().closeWindow(this);
|
|
251 | 248 |
} |
252 | 249 |
|
253 | 250 |
private void callTransformation(int crsCode){ |
... | ... | |
397 | 394 |
public void setProjection(IProjection proj) { |
398 | 395 |
firstProj = proj; |
399 | 396 |
} |
400 |
|
|
401 |
public ViewInfo getViewInfo() {
|
|
402 |
ViewInfo m_viewinfo=new ViewInfo(ViewInfo.MODALDIALOG);
|
|
397 |
|
|
398 |
public WindowInfo getWindowInfo() {
|
|
399 |
WindowInfo m_viewinfo=new WindowInfo(WindowInfo.MODALDIALOG);
|
|
403 | 400 |
m_viewinfo.setTitle("Transformation EPSG"); |
404 | 401 |
return m_viewinfo; |
405 | 402 |
} |
Also available in: Unified diff