Revision 7020 trunk/libraries/libJCRS/src/org/gvsig/crs/ui/InfoCrs.java
InfoCrs.java | ||
---|---|---|
18 | 18 |
import org.gvsig.crs.ICrs; |
19 | 19 |
|
20 | 20 |
import com.iver.andami.PluginServices; |
21 |
import com.iver.andami.ui.mdiManager.View;
|
|
22 |
import com.iver.andami.ui.mdiManager.ViewInfo;
|
|
21 |
import com.iver.andami.ui.mdiManager.IWindow;
|
|
22 |
import com.iver.andami.ui.mdiManager.WindowInfo;
|
|
23 | 23 |
|
24 |
public class InfoCrs extends DefaultDialogPanel implements View{
|
|
24 |
public class InfoCrs extends DefaultDialogPanel implements IWindow{
|
|
25 | 25 |
|
26 | 26 |
private static final long serialVersionUID = 1L; |
27 | 27 |
|
... | ... | |
117 | 117 |
} |
118 | 118 |
|
119 | 119 |
public void OkButton_actionPerformed(ActionEvent e) { |
120 |
PluginServices.getMDIManager().closeView(this);
|
|
120 |
PluginServices.getMDIManager().closeWindow(this);
|
|
121 | 121 |
} |
122 | 122 |
|
123 | 123 |
private JLabel getProjcs() { |
... | ... | |
328 | 328 |
return jTable; |
329 | 329 |
} |
330 | 330 |
|
331 |
public ViewInfo getViewInfo() {
|
|
332 |
ViewInfo m_viewinfo=new ViewInfo(ViewInfo.MODALDIALOG);
|
|
331 |
public WindowInfo getWindowInfo() {
|
|
332 |
WindowInfo m_viewinfo=new WindowInfo(WindowInfo.MODALDIALOG);
|
|
333 | 333 |
m_viewinfo.setTitle(PluginServices.getText(this,proj.getCrsWkt().getName())); |
334 | 334 |
return m_viewinfo; |
335 | 335 |
} |
Also available in: Unified diff