Revision 24270 trunk/extensions/dockingSkin/src/main/java/org/gvsig/mdiManager/DockWindowSupport.java

View differences:

DockWindowSupport.java
49 49
import javax.swing.JDialog;
50 50
import javax.swing.JPanel;
51 51

  
52
import org.gvsig.mdiManager.frames.ExternalFrame;
53

  
54 52
import net.infonode.docking.RootWindow;
55 53

  
54
import org.gvsig.mdiManager.frames.ExternalFrame;
56 55

  
57 56
import com.iver.andami.PluginServices;
58 57
import com.iver.andami.ui.mdiFrame.MDIFrame;
......
69 68
//    private Image icon;
70 69
    private DockInfoSupport vis;
71 70
	private RootWindow rootWindow;
72
	private MDIFrame mainFrame;
73 71

  
74 72
    /**
75 73
     * Creates a new FrameViewSupport object.
......
78 76
     */
79 77
    public DockWindowSupport(MDIFrame mainFrame, RootWindow rootWindow) {
80 78
    	this.rootWindow = rootWindow;
81
    	this.mainFrame = mainFrame;
82 79
//        icon = rootWindow.getIconImage();
83 80
    }
84 81

  
......
173 170
    public DockWindow createDockWindow(IWindow p)
174 171
    {
175 172
        WindowInfo wi = vis.getWindowInfo(p);
176
        DockWindow nuevo = new DockWindow(this.mainFrame,p,wi.getTitle(),null);
173
        DockWindow nuevo = new DockWindow(p,wi.getTitle(),null);
177 174
//        if (icon != null){
178 175
//            nuevo.setFrameIcon(new ImageIcon(icon));
179 176
//        }

Also available in: Unified diff