Bug 67311 [ViewMgmt] [RCP] Other views may be docked with standalone views
RC2 Steps to reproduce: 1) Modify the Browser example plugin.xml so that the Browser perspective is not fixed. 2) Modify the first line of BrowserPerspectiveFactory.createInitialLayout to be: layout.addStandaloneView(BrowserApp.BROWSER_VIEW_ID, false, IPageLayout.RIGHT, .25f, IPageLayout.ID_EDITOR_AREA); 2) Launch the Browser 3) Show the history view 4) Drag the history view on top of the Browser view. This should not be possible should it?
bundles/org.eclipse.jface/src/org/eclipse/jface/util/Geometry.java
}
    /**
     * Returns a new point whose coordinates are the minimum of the coordinates of the
     * given points
     * 
     * @param p1 a Point
     * @param p2 a Point
     * @return a new point whose coordinates are the minimum of the coordinates of the
     * given points
     * @since 3.0
     */
    public static Point min(Point p1, Point p2) {
        return new Point(Math.min(p1.x, p2.x), Math.min(p1.y, p2.y));
    }
    /**
     * Returns a new point whose coordinates are the maximum of the coordinates
     * of the given points
     * @param p1 a Point
     * @param p2 a Point
     * @return point a new point whose coordinates are the maximum of the coordinates
     * @since 3.0
     */
    public static Point max(Point p1, Point p2) {
        return new Point(Math.max(p1.x, p2.x), Math.max(p1.y, p2.y));
    }
    /**
     * Returns a vector in the given direction with the given
     * magnitude. Directions are given using SWT direction constants, and
     * the resulting vector is in the screen's coordinate system. That is,
     * the vector (0, 1) is down and the vector (1, 0) is right.