root / trunk / applications / appgvSIG / src / com / iver / cit / gvsig / gui / Dialogs / FInfoDialog.java @ 5837
History | View | Annotate | Download (1.12 KB)
1 |
|
---|---|
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 |
*
|
13 |
* @author laura
|
14 |
*
|
15 |
*/
|
16 |
public class FInfoDialog extends InfoToolViewer implements SingletonView { |
17 |
|
18 |
|
19 |
public FInfoDialog(){
|
20 |
super();
|
21 |
} |
22 |
|
23 |
public FInfoDialog(XMLItem[] layers) { |
24 |
super(layers);
|
25 |
} |
26 |
|
27 |
/**
|
28 |
* @see com.iver.mdiApp.ui.MDIManager.View#viewActivated()
|
29 |
*/
|
30 |
public void viewActivated() { |
31 |
} |
32 |
|
33 |
/* (non-Javadoc)
|
34 |
* @see com.iver.mdiApp.ui.MDIManager.View#getViewInfo()
|
35 |
*/
|
36 |
public ViewInfo getViewInfo() {
|
37 |
ViewInfo m_viewinfo = new ViewInfo(ViewInfo.MODELESSDIALOG |
|
38 |
ViewInfo.RESIZABLE | ViewInfo.PALETTE); |
39 |
m_viewinfo.setWidth(300);
|
40 |
m_viewinfo.setHeight(235);
|
41 |
m_viewinfo.setTitle(PluginServices.getText(this,
|
42 |
"Identificar_Resultados"));
|
43 |
|
44 |
return m_viewinfo;
|
45 |
} |
46 |
|
47 |
/**
|
48 |
* @see com.iver.mdiApp.ui.MDIManager.SingletonView#getViewModel()
|
49 |
*/
|
50 |
public Object getViewModel() { |
51 |
return "FInfoDialogXML"; |
52 |
} |
53 |
} |