Bug 335733 org.eclipse.e4.ui.workbench.addons.swt has dependency on org.eclipse.ui
This means when one wants to use it one has to get in the compat layer: * minmax: Can be fixed quite easily because it only uses some ID stuff from IPageLayout and one WorkbenchImages-call => Proposal fix them and leave it in e4.ui.workbench.addons.swt * perspectiveswitcher: Looks like this is harder to fix because it usies all sorts of Workbench-Classes => Proposal move it to compat layer
bundles/org.eclipse.e4.ui.workbench.addons.swt/src/org/eclipse/e4/ui/workbench/addons/minmax/TrimStack.java
showStack(false);
		
		Display.getCurrent().removeFilter(SWT.MouseDown, mouseDownListener);
		minimizedElement.setVisible(true);
		minimizedElement.getTags().remove(MinMaxAddon.MINIMIZED);
		toolControl.setToBeRendered(false);
		if (hostPane != null && !hostPane.isDisposed())
			hostPane.dispose();
		hostPane = null;
	}
	/**
	 * Create the popup menu that will appear when a minimized part has been selected by the cursor.
	 */
	private void createPopupMenu() {
		trimStackMenu = new Menu(trimStackTB);
		trimStackTB.setMenu(trimStackMenu);
		MenuItem closeItem = new MenuItem(trimStackMenu, SWT.NONE);
		closeItem.setText(WorkbenchMessages.WorkbenchWindow_close);
		closeItem.addListener(SWT.Selection, new Listener() {
			public void handleEvent(Event event) {
				MUIElement element = (MUIElement) selectedToolItem.getData();
				if (element instanceof MPlaceholder) {
					element = ((MPlaceholder) element).getRef();
				}
				partService.hidePart((MPart) element);
			}
		});
	}
	@Execute
	public void showStack(@Named("show") boolean show) {