Statistics
| Revision:

root / trunk / applications / appgvSIG / src / com / iver / cit / gvsig / gui / dialogs / FInfoDialog.java @ 6877

History | View | Annotate | Download (1.17 KB)

1 6117 jaume
2
package com.iver.cit.gvsig.gui.dialogs;
3
4
import com.iver.andami.PluginServices;
5
import com.iver.andami.ui.mdiManager.SingletonView;
6
import com.iver.andami.ui.mdiManager.ViewInfo;
7
import com.iver.cit.gvsig.fmap.layers.layerOperations.XMLItem;
8
9
10
/**
11
 * Dialog that contains the generic Feature Info Viewer
12 6334 jaume
 *
13 6117 jaume
 * @author laura
14
 *
15
 */
16
public class FInfoDialog extends InfoToolViewer implements SingletonView {
17 6334 jaume
18
19 6117 jaume
        public FInfoDialog(){
20
                super();
21 6334 jaume
                setSize(600, 375);
22 6117 jaume
        }
23 6334 jaume
24 6117 jaume
        public FInfoDialog(XMLItem[] layers) {
25
                super(layers);
26 6334 jaume
                setSize(600, 375);
27 6117 jaume
        }
28 6334 jaume
29 6117 jaume
        /**
30 6877 cesar
         * @see com.iver.mdiApp.ui.MDIManager.IWindow#viewActivated()
31 6117 jaume
         */
32
        public void viewActivated() {
33
        }
34
35
        /* (non-Javadoc)
36
         * @see com.iver.mdiApp.ui.MDIManager.View#getViewInfo()
37
         */
38
        public ViewInfo getViewInfo() {
39 6334 jaume
40 6117 jaume
                ViewInfo m_viewinfo = new ViewInfo(ViewInfo.MODELESSDIALOG |
41
                                ViewInfo.RESIZABLE | ViewInfo.PALETTE);
42 6334 jaume
                m_viewinfo.setWidth(getWidth()+8);
43
                m_viewinfo.setHeight(getHeight());
44 6117 jaume
                m_viewinfo.setTitle(PluginServices.getText(this,
45
                                "Identificar_Resultados"));
46
47
                return m_viewinfo;
48
        }
49
50
        /**
51
         * @see com.iver.mdiApp.ui.MDIManager.SingletonView#getViewModel()
52
         */
53
        public Object getViewModel() {
54
                return "FInfoDialog";
55
        }
56
}