root / branches / v2_0_0_prep / applications / appgvSIG / src / org / gvsig / app / project / documents / view / info / gui / FInfoDialog.java @ 29596
History | View | Annotate | Download (1.29 KB)
1 |
|
---|---|
2 |
package org.gvsig.app.project.documents.view.info.gui; |
3 |
|
4 |
import org.gvsig.andami.PluginServices; |
5 |
import org.gvsig.andami.ui.mdiManager.SingletonWindow; |
6 |
import org.gvsig.andami.ui.mdiManager.WindowInfo; |
7 |
import org.gvsig.fmap.mapcontext.layers.operations.XMLItem; |
8 |
|
9 |
|
10 |
|
11 |
/**
|
12 |
* Dialog that contains the generic Feature Info Viewer
|
13 |
*
|
14 |
* @author laura
|
15 |
*
|
16 |
*/
|
17 |
public class FInfoDialog extends InfoToolViewer implements SingletonWindow { |
18 |
|
19 |
|
20 |
public FInfoDialog(){
|
21 |
super();
|
22 |
setSize(600, 375); |
23 |
} |
24 |
|
25 |
public FInfoDialog(XMLItem[] layers) { |
26 |
super(layers);
|
27 |
setSize(600, 375); |
28 |
} |
29 |
|
30 |
/**
|
31 |
* @see com.iver.mdiApp.ui.MDIManager.IWindow#windowActivated()
|
32 |
*/
|
33 |
public void viewActivated() { |
34 |
} |
35 |
|
36 |
/* (non-Javadoc)
|
37 |
* @see com.iver.mdiApp.ui.MDIManager.View#getViewInfo()
|
38 |
*/
|
39 |
public WindowInfo getWindowInfo() {
|
40 |
|
41 |
WindowInfo m_viewinfo = new WindowInfo(WindowInfo.MODELESSDIALOG |
|
42 |
WindowInfo.RESIZABLE | WindowInfo.PALETTE); |
43 |
m_viewinfo.setWidth(getWidth()+8);
|
44 |
m_viewinfo.setHeight(getHeight()); |
45 |
m_viewinfo.setTitle(PluginServices.getText(this,
|
46 |
"Identificar_Resultados"));
|
47 |
|
48 |
return m_viewinfo;
|
49 |
} |
50 |
|
51 |
/**
|
52 |
* @see com.iver.mdiApp.ui.MDIManager.SingletonWindow#getWindowModel()
|
53 |
*/
|
54 |
public Object getWindowModel() { |
55 |
return "FInfoDialog"; |
56 |
} |
57 |
|
58 |
public Object getWindowProfile() { |
59 |
return WindowInfo.PROPERTIES_PROFILE;
|
60 |
} |
61 |
} |