Revision 7020 trunk/libraries/libJCRS/src/org/gvsig/crs/ui/TransformationManualPanel.java
TransformationManualPanel.java | ||
---|---|---|
18 | 18 |
import org.cresques.ui.DefaultDialogPanel; |
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 |
import com.iver.cit.gvsig.gui.panels.ProjChooserPanelTransformation; |
24 | 24 |
|
25 |
public class TransformationManualPanel extends DefaultDialogPanel implements View {
|
|
25 |
public class TransformationManualPanel extends DefaultDialogPanel implements IWindow {
|
|
26 | 26 |
|
27 | 27 |
private static final long serialVersionUID = 1L; |
28 | 28 |
|
... | ... | |
321 | 321 |
} |
322 | 322 |
|
323 | 323 |
public void cancelButton_actionPerformed(ActionEvent e) { |
324 |
PluginServices.getMDIManager().closeView(this);
|
|
324 |
PluginServices.getMDIManager().closeWindow(this);
|
|
325 | 325 |
} |
326 | 326 |
|
327 | 327 |
private JButton getButtonAccept() { |
... | ... | |
341 | 341 |
} |
342 | 342 |
|
343 | 343 |
public void acceptButton_actionPerformed(ActionEvent e) { |
344 |
PluginServices.getMDIManager().closeView(this);
|
|
344 |
PluginServices.getMDIManager().closeWindow(this);
|
|
345 | 345 |
} |
346 | 346 |
|
347 | 347 |
public static boolean isPressed() { return pressed; } |
348 | 348 |
|
349 |
public ViewInfo getViewInfo() { |
|
350 |
ViewInfo m_viewinfo=new ViewInfo(ViewInfo.MODALDIALOG); |
|
349 |
|
|
350 |
|
|
351 |
public WindowInfo getWindowInfo() { |
|
352 |
WindowInfo m_viewinfo=new WindowInfo(WindowInfo.MODALDIALOG); |
|
351 | 353 |
m_viewinfo.setTitle(PluginServices.getText(this,"Manual")); |
352 | 354 |
return m_viewinfo; |
353 | 355 |
} |
Also available in: Unified diff