Revision 9283

View differences:

trunk/applications/appgvSIG/src/com/iver/cit/gvsig/project/documents/layout/fframes/gui/GridViewLayout.java
1
package com.iver.cit.gvsig.project.documents.layout.fframes.gui;
2

  
3
import javax.swing.JPanel;
4

  
5
import com.iver.andami.PluginServices;
6
import com.iver.andami.ui.mdiManager.IWindow;
7
import com.iver.andami.ui.mdiManager.WindowInfo;
8

  
9
public class GridViewLayout extends JPanel implements IWindow{
10

  
11
	/**
12
	 * This is the default constructor
13
	 */
14
	public GridViewLayout() {
15
		super();
16
		initialize();
17
	}
18

  
19
	/**
20
	 * This method initializes this
21
	 *
22
	 * @return void
23
	 */
24
	private void initialize() {
25
		this.setSize(300, 200);
26
	}
27

  
28
	public WindowInfo getWindowInfo() {
29
		WindowInfo wi=new WindowInfo(WindowInfo.MODALDIALOG);
30
		wi.setTitle(PluginServices.getText(this,"cuadricula"));
31
		return wi;
32
	}
33

  
34
}

Also available in: Unified diff