private void checkForPopUp(MouseEvent e) {
		Dockable target = getDockable();
		JPopupMenu popup = new JPopupMenu(target.getDockKey().getName());
		// first add the standard menu
		DockKey key = target.getDockKey();
		switch(key.getLocation()) {
			case DOCKED:
				initDockedPopUp(popup);
				break;
			case HIDDEN:
				//initAutoHidePopUp(popup);
				break;
			case MAXIMIZED:
				initMaximizedPopUp(popup);
				break;
			case FLOATING:
				initFloatingPopUp(popup);
				break;
			default:
				// nothing to do
		}

		DockableActionCustomizer customizer = target.getDockKey().getActionCustomizer();
		if(customizer != null && customizer.isSingleDockableTitleBarPopUpCustomizer()) {
			if(popup.getComponentCount() > 0) {
				popup.addSeparator();
			}
			customizer.visitSingleDockableTitleBarPopUp(popup, target);
		}
		if(popup.getComponentCount() > 0) {
			popup.show(tabHeader, e.getX(), e.getY());
			this.currentPopUp = popup;
		}
	}