Revision 6880 trunk/applications/appgvSIG/src/com/iver/cit/gvsig/gui/dialogs/FInfoDialog.java
FInfoDialog.java | ||
---|---|---|
2 | 2 |
package com.iver.cit.gvsig.gui.dialogs; |
3 | 3 |
|
4 | 4 |
import com.iver.andami.PluginServices; |
5 |
import com.iver.andami.ui.mdiManager.SingletonView;
|
|
6 |
import com.iver.andami.ui.mdiManager.ViewInfo;
|
|
5 |
import com.iver.andami.ui.mdiManager.SingletonWindow;
|
|
6 |
import com.iver.andami.ui.mdiManager.WindowInfo;
|
|
7 | 7 |
import com.iver.cit.gvsig.fmap.layers.layerOperations.XMLItem; |
8 | 8 |
|
9 | 9 |
|
... | ... | |
13 | 13 |
* @author laura |
14 | 14 |
* |
15 | 15 |
*/ |
16 |
public class FInfoDialog extends InfoToolViewer implements SingletonView {
|
|
16 |
public class FInfoDialog extends InfoToolViewer implements SingletonWindow {
|
|
17 | 17 |
|
18 | 18 |
|
19 | 19 |
public FInfoDialog(){ |
... | ... | |
27 | 27 |
} |
28 | 28 |
|
29 | 29 |
/** |
30 |
* @see com.iver.mdiApp.ui.MDIManager.IWindow#viewActivated()
|
|
30 |
* @see com.iver.mdiApp.ui.MDIManager.IWindow#windowActivated()
|
|
31 | 31 |
*/ |
32 | 32 |
public void viewActivated() { |
33 | 33 |
} |
... | ... | |
35 | 35 |
/* (non-Javadoc) |
36 | 36 |
* @see com.iver.mdiApp.ui.MDIManager.View#getViewInfo() |
37 | 37 |
*/ |
38 |
public ViewInfo getViewInfo() {
|
|
38 |
public WindowInfo getWindowInfo() {
|
|
39 | 39 |
|
40 |
ViewInfo m_viewinfo = new ViewInfo(ViewInfo.MODELESSDIALOG |
|
|
41 |
ViewInfo.RESIZABLE | ViewInfo.PALETTE);
|
|
40 |
WindowInfo m_viewinfo = new WindowInfo(WindowInfo.MODELESSDIALOG |
|
|
41 |
WindowInfo.RESIZABLE | WindowInfo.PALETTE);
|
|
42 | 42 |
m_viewinfo.setWidth(getWidth()+8); |
43 | 43 |
m_viewinfo.setHeight(getHeight()); |
44 | 44 |
m_viewinfo.setTitle(PluginServices.getText(this, |
... | ... | |
48 | 48 |
} |
49 | 49 |
|
50 | 50 |
/** |
51 |
* @see com.iver.mdiApp.ui.MDIManager.SingletonView#getViewModel()
|
|
51 |
* @see com.iver.mdiApp.ui.MDIManager.SingletonWindow#getWindowModel()
|
|
52 | 52 |
*/ |
53 |
public Object getViewModel() {
|
|
53 |
public Object getWindowModel() {
|
|
54 | 54 |
return "FInfoDialog"; |
55 | 55 |
} |
56 | 56 |
} |
Also available in: Unified diff