Bug 319732 Views with a menu but no toolbar has no menu on restart
Views like the 'Problems' view and 'Outline' view has its view menu on the first startup. When you restart, those view menus disappear.
bundles/org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt/StackRenderer.java
cti.setText(getLabel(part, newName));
		} else if (UIEvents.UILabel.ICONURI.equals(attName)) {
			cti.setImage(getImage(part));
		} else if (UIEvents.UILabel.TOOLTIP.equals(attName)) {
			String newTTip = (String) newValue;
			cti.setToolTipText(newTTip);
		} else if (UIEvents.Dirtyable.DIRTY.equals(attName)) {
			Boolean dirtyState = (Boolean) newValue;
			String text = cti.getText();
			boolean hasAsterisk = text.charAt(0) == '*';
			if (dirtyState.booleanValue()) {
				if (!hasAsterisk) {
					cti.setText('*' + text);
				}
			} else if (hasAsterisk) {
				cti.setText(text.substring(1));
			}
		}
	}
	@PreDestroy
	public void contextDisposed() {
		super.contextDisposed(eventBroker);
		eventBroker.unsubscribe(itemUpdater);
		eventBroker.unsubscribe(dirtyUpdater);
	}
	private String getLabel(MUILabel itemPart, String newName) {
		if (newName == null) {
			newName = ""; 
		}
		if (itemPart instanceof MDirtyable && ((MDirtyable) itemPart).isDirty()) {