public void mouseClicked(MouseEvent e) {
			Point p = e.getPoint();
			CPArtwork artwork = controller.getArtwork();
			int layerIndex = getLayerNb(p);

			if (e.getClickCount() == 2 && layerIndex >= 0 && layerIndex < artwork.getLayersNb() && p.x > eyeW) {
				showRenameControl(layerIndex);
			} else if (renameField.isVisible()) {
				renameField.renameAndHide();
			}
		}