Revision 31496 branches/v2_0_0_prep/applications/appgvSIG/src/org/gvsig/app/project/documents/layout/fframes/FFrameGroup.java

View differences:

FFrameGroup.java
50 50
import java.awt.geom.Rectangle2D;
51 51
import java.awt.image.BufferedImage;
52 52
import java.util.ArrayList;
53
import java.util.List;
53 54

  
54 55
import org.gvsig.andami.PluginServices;
55 56
import org.gvsig.app.project.Project;
......
58 59
import org.gvsig.app.project.documents.layout.FLayoutUtilities;
59 60
import org.gvsig.app.project.documents.layout.fframes.gui.dialogs.FFrameGroupDialog;
60 61
import org.gvsig.app.project.documents.layout.fframes.gui.dialogs.IFFrameDialog;
61
import org.gvsig.app.project.documents.layout.gui.Layout;
62
import org.gvsig.app.project.documents.layout.gui.LayoutPanel;
62 63
import org.gvsig.compat.print.PrintAttributes;
63 64
import org.gvsig.fmap.geom.Geometry;
64 65
import org.gvsig.utils.XMLEntity;
......
72 73
 * @author Vicente Caballero Navarro
73 74
 */
74 75
public class FFrameGroup extends FFrame implements IFFrameUseProject, IFFrameViewDependence{
75
    private ArrayList<IFFrame> m_fframes = new ArrayList<IFFrame>();
76
    private List<IFFrame> m_fframes = new ArrayList<IFFrame>();
76 77
    private Rectangle2D.Double rg = null;
77 78
    private AffineTransform m_at;
78 79
    private Project project;
......
81 82
     * Crea un nuevo FFrameGroup.
82 83
     */
83 84
    public FFrameGroup() {
85
    	// do nothing
84 86
    }
85 87

  
86 88
    /**
......
297 299
     *
298 300
     * @param layout DOCUMENT ME!
299 301
     */
300
    public void setLayout(Layout layout) {
302
    public void setLayout(LayoutPanel layout) {
301 303
        super.setLayout(layout);
302 304
    	IFFrame[] fsoriginal= layout.getLayoutContext().getAllFFrames();
303 305
        IFFrame[] fs = getFFrames();
......
327 329
	public void cloneActions(IFFrame frame) {
328 330
		// TODO Auto-generated method stub
329 331
	}
330
	public IFFrame cloneFFrame(Layout layout) {
332
	public IFFrame cloneFFrame(LayoutPanel layout) {
331 333
		FFrameGroup frame =(FFrameGroup)FrameFactory.createFrameFromName(FFrameGroupFactory.registerName);
332 334
		frame.setSelected(this.getSelected()!=IFFrame.NOSELECT);
333 335
		frame.setLevel(this.getLevel());

Also available in: Unified diff