Bug 323389 Prompt required when resetting perspectives from the perspective switcher
We prompt in 3.x, so we should prompt in 4.x.
bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/perspectiveswitcher/PerspectiveSwitcher.java
}
	protected ToolItem getItemFor(MPerspective persp) {
		if (psTB == null)
			return null;
		for (ToolItem ti : psTB.getItems()) {
			if (ti.getData() == persp)
				return ti;
		}
		return null;
	}
	void paint(PaintEvent e) {
		GC gc = e.gc;
		Point size = comp.getSize();
		if (curveColor == null)
			curveColor = e.display.getSystemColor(SWT.COLOR_BLACK);
		int h = size.y;
		int[] simpleCurve = new int[] { 0, h - 1, 1, h - 1, 2, h - 2, 2, 1, 3, 0 };
		
		gc.setForeground(curveColor);
		gc.setAntialias(SWT.ON);
		gc.drawPolyline(simpleCurve);
		Rectangle bounds = ((Control) e.widget).getBounds();
		bounds.x = bounds.y = 0;
		Region r = new Region();
		r.add(bounds);
		int[] simpleCurveClose = new int[simpleCurve.length + 4];
		System.arraycopy(simpleCurve, 0, simpleCurveClose, 0, simpleCurve.length);
		int index = simpleCurve.length;
		simpleCurveClose[index++] = bounds.width;
		simpleCurveClose[index++] = 0;