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
} else {
    		toSet.y = newCoordinate;
    	}
    }
    
    /**
     * Sets one coordinate of the given point. Modifies the given point.
     * 
     * @param toSet point to modify
     * @param width if true, the x coordinate is modified. If false, the y coordinate is modified.
     * @param newCoordinate new value of the x or y coordinates
     * @since 3.1
     */
    public static void setCoordinate(Point toSet, boolean width, int newCoordinate) {
    	if (width) {
    		toSet.x = newCoordinate;
    	} else {
    		toSet.y = newCoordinate;
    	}
    }
    
    /**
     * Returns the distance of the given point from a particular side of the given rectangle.
     * Returns negative values for points outside the rectangle.
     * 
     * @param rectangle a bounding rectangle
     * @param testPoint a point to test
     * @param edgeOfInterest side of the rectangle to test against
     * @return the distance of the given point from the given edge of the rectangle
     * @since 3.0