public void actionPerformed(ActionEvent e) {
			Dockable d = focusHandler.getCurrentDockable();
			if (d != null) {
				if (d.getDockKey().isMaximizeEnabled()) {
					DockableState.Location location = d.getDockKey()
							.getLocation();
					if (location == DockableState.Location.DOCKED) {
						maximize(d);
					} else if (location == DockableState.Location.MAXIMIZED) {
						restore(d);
					}
				}
			}
		}