Revision 7020 trunk/libraries/libJCRS/src/org/gvsig/crs/ui/WithoutTranformation.java
WithoutTranformation.java | ||
---|---|---|
16 | 16 |
import org.cresques.ui.DefaultDialogPanel; |
17 | 17 |
|
18 | 18 |
import com.iver.andami.PluginServices; |
19 |
import com.iver.andami.ui.mdiManager.View;
|
|
20 |
import com.iver.andami.ui.mdiManager.ViewInfo;
|
|
19 |
import com.iver.andami.ui.mdiManager.IWindow;
|
|
20 |
import com.iver.andami.ui.mdiManager.WindowInfo;
|
|
21 | 21 |
|
22 |
public class WithoutTranformation extends DefaultDialogPanel implements View {
|
|
22 |
public class WithoutTranformation extends DefaultDialogPanel implements IWindow {
|
|
23 | 23 |
|
24 | 24 |
/** |
25 | 25 |
* |
... | ... | |
126 | 126 |
} |
127 | 127 |
|
128 | 128 |
public void cancelButton_actionPerformed(ActionEvent e) { |
129 |
PluginServices.getMDIManager().closeView(this);
|
|
129 |
PluginServices.getMDIManager().closeWindow(this);
|
|
130 | 130 |
} |
131 | 131 |
|
132 | 132 |
private JButton getButtonAccept() { |
... | ... | |
146 | 146 |
} |
147 | 147 |
|
148 | 148 |
public void acceptButton_actionPerformed(ActionEvent e) { |
149 |
PluginServices.getMDIManager().closeView(this);
|
|
149 |
PluginServices.getMDIManager().closeWindow(this);
|
|
150 | 150 |
} |
151 | 151 |
|
152 |
public ViewInfo getViewInfo() {
|
|
153 |
ViewInfo m_viewinfo=new ViewInfo(ViewInfo.MODALDIALOG);
|
|
152 |
public WindowInfo getWindowInfo() {
|
|
153 |
WindowInfo m_viewinfo=new WindowInfo(WindowInfo.MODALDIALOG);
|
|
154 | 154 |
m_viewinfo.setTitle(PluginServices.getText(this,"Sin Transformacion")); |
155 | 155 |
return m_viewinfo; |
156 | 156 |
} |
Also available in: Unified diff