Bug 22563 [Perspectives] View layout is tricky at edges
I've just had to "redo" a perspective the way I want it (for reasonable reasons) and I've run into the same problem I always have. I wish to have the search/console/tasks bar along the whole bottom width of Eclipse. I should (I think) be able to do this by dragging a view over the status bar and getting an "up" arrow to say I want it to be above the status bar. Unfortunately, I can't do that - I have to put everything vertically so that *everything* is the full width, get the tasks/console/search in the right place and then reorganise the rest. Have I missed something, or is this genuinely missing functionality? (The same goes for the top, left and right as well - getting anything that takes up a whole side is basically a pain.)
bundles/org.eclipse.jface/src/org/eclipse/jface/util/Geometry.java
return toMeasure.height;
		}
	}
	/**
	 * 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
	 */
	public static int getDistanceFromEdge(Rectangle rectangle, Point testPoint, int edgeOfInterest) {
		switch(edgeOfInterest) {
			case SWT.TOP: return testPoint.y - rectangle.y ;
			case SWT.BOTTOM: return rectangle.y + rectangle.height - testPoint.y;
			case SWT.LEFT: return testPoint.x - rectangle.x;
			case SWT.RIGHT: return rectangle.x + rectangle.width - testPoint.x;
		}
		
		return 0;
	}
	/**
	 * Extrudes the given edge inward by the given distance. That is, if one side of the rectangle
	 * was sliced off with a given thickness, this returns the rectangle that forms the slice. Note
	 * that the returned rectangle will be inside the given rectangle if size > 0.
	 * 
	 * @param toExtrude the rectangle to extrude. The resulting rectangle will share three sides
	 * with this rectangle.