Revision 6880 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/layout/fframes/dialogs/FFrameLegendDialog.java
FFrameLegendDialog.java | ||
---|---|---|
62 | 62 |
import org.gvsig.gui.beans.swing.JButton; |
63 | 63 |
|
64 | 64 |
import com.iver.andami.PluginServices; |
65 |
import com.iver.andami.ui.mdiManager.ViewInfo;
|
|
65 |
import com.iver.andami.ui.mdiManager.WindowInfo;
|
|
66 | 66 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
67 | 67 |
import com.iver.cit.gvsig.fmap.layers.FLayers; |
68 | 68 |
import com.iver.cit.gvsig.gui.dialogs.FontChooser; |
... | ... | |
300 | 300 |
rect, m_layout.getAT())); |
301 | 301 |
fframelegend.setRotation(getPRotation().getRotation()); |
302 | 302 |
|
303 |
PluginServices.getMDIManager().closeView(FFrameLegendDialog.this);
|
|
303 |
PluginServices.getMDIManager().closeWindow(FFrameLegendDialog.this);
|
|
304 | 304 |
m_layout.refresh(); |
305 | 305 |
isAcepted = true; |
306 | 306 |
} |
307 | 307 |
}; |
308 | 308 |
cancelAction = new java.awt.event.ActionListener() { |
309 | 309 |
public void actionPerformed(java.awt.event.ActionEvent e) { |
310 |
PluginServices.getMDIManager().closeView(FFrameLegendDialog.this);
|
|
310 |
PluginServices.getMDIManager().closeWindow(FFrameLegendDialog.this);
|
|
311 | 311 |
} |
312 | 312 |
}; |
313 | 313 |
accept = new AcceptCancelPanel(okAction, cancelAction); |
... | ... | |
473 | 473 |
/* (non-Javadoc) |
474 | 474 |
* @see com.iver.mdiApp.ui.MDIManager.View#getViewInfo() |
475 | 475 |
*/ |
476 |
public ViewInfo getViewInfo() {
|
|
477 |
ViewInfo m_viewinfo = new ViewInfo(ViewInfo.MODALDIALOG);
|
|
476 |
public WindowInfo getWindowInfo() {
|
|
477 |
WindowInfo m_viewinfo = new WindowInfo(WindowInfo.MODALDIALOG);
|
|
478 | 478 |
m_viewinfo.setTitle(PluginServices.getText(this, |
479 | 479 |
"propiedades_marco_leyenda")); |
480 | 480 |
|
... | ... | |
489 | 489 |
} |
490 | 490 |
|
491 | 491 |
/** |
492 |
* @see com.iver.mdiApp.ui.MDIManager.IWindow#viewActivated()
|
|
492 |
* @see com.iver.mdiApp.ui.MDIManager.IWindow#windowActivated()
|
|
493 | 493 |
*/ |
494 | 494 |
public void viewActivated() { |
495 | 495 |
} |
Also available in: Unified diff