Revision 6880 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/FThemePropertiesDialog.java
FThemePropertiesDialog.java | ||
---|---|---|
58 | 58 |
import com.iver.andami.PluginServices; |
59 | 59 |
import com.iver.andami.messages.NotificationManager; |
60 | 60 |
import com.iver.andami.ui.mdiManager.IWindow; |
61 |
import com.iver.andami.ui.mdiManager.ViewInfo;
|
|
61 |
import com.iver.andami.ui.mdiManager.WindowInfo;
|
|
62 | 62 |
import com.iver.cit.gvsig.fmap.layers.FLayer; |
63 | 63 |
import com.iver.cit.gvsig.fmap.layers.layerOperations.AlphanumericData; |
64 | 64 |
import com.iver.cit.gvsig.project.ProjectView; |
... | ... | |
352 | 352 |
System.err.print(ex.getLocalizedMessage()); |
353 | 353 |
|
354 | 354 |
} |
355 |
PluginServices.getMDIManager().closeView(FThemePropertiesDialog.this);
|
|
355 |
PluginServices.getMDIManager().closeWindow(FThemePropertiesDialog.this);
|
|
356 | 356 |
m_layer.getFMap().invalidate(); |
357 | 357 |
} |
358 | 358 |
}); |
... | ... | |
374 | 374 |
public void actionPerformed(java.awt.event.ActionEvent e) { |
375 | 375 |
// View view =(View)App.instance.getMDIContext().getActiveView(); |
376 | 376 |
//view.getMapControl().setTool(MapControl.); |
377 |
PluginServices.getMDIManager().closeView(FThemePropertiesDialog.this);
|
|
377 |
PluginServices.getMDIManager().closeWindow(FThemePropertiesDialog.this);
|
|
378 | 378 |
} |
379 | 379 |
}); |
380 | 380 |
} |
... | ... | |
495 | 495 |
/* (non-Javadoc) |
496 | 496 |
* @see com.iver.mdiApp.ui.MDIManager.View#getViewInfo() |
497 | 497 |
*/ |
498 |
public ViewInfo getViewInfo() {
|
|
499 |
ViewInfo m_viewinfo = new ViewInfo(ViewInfo.MODALDIALOG);
|
|
498 |
public WindowInfo getWindowInfo() {
|
|
499 |
WindowInfo m_viewinfo = new WindowInfo(WindowInfo.MODALDIALOG);
|
|
500 | 500 |
m_viewinfo.setTitle(PluginServices.getText(this, "propiedades_capa")); |
501 | 501 |
|
502 | 502 |
return m_viewinfo; |
503 | 503 |
} |
504 | 504 |
|
505 | 505 |
/** |
506 |
* @see com.iver.mdiApp.ui.MDIManager.IWindow#viewActivated()
|
|
506 |
* @see com.iver.mdiApp.ui.MDIManager.IWindow#windowActivated()
|
|
507 | 507 |
*/ |
508 | 508 |
public void viewActivated() { |
509 | 509 |
} |
Also available in: Unified diff