public void actionPerformed(ActionEvent e) {
			Dockable d = focusHandler.getCurrentDockable();
			if (d != null) {
				if (d.getDockKey().isCloseEnabled()) {
					DockableState.Location location = d.getDockKey()
							.getLocation();

					if (location == DockableState.Location.DOCKED
							|| location == DockableState.Location.FLOATING
							|| location == DockableState.Location.HIDDEN) {
						close(d);
					}
				}
			}
		}