private void pasteAtom(Point p) {
		if (atomCopy.getSymbol() == null)
			return;
		boolean b = false;
		currentElementToAdd = atomCopy.getSymbol();
		switch (actionID) {
		case XADD_ID:
			b = addAtom(viewer.findPointOnDropPlane('x', p.x, p.y));
			break;
		case YADD_ID:
			b = addAtom(viewer.findPointOnDropPlane('y', p.x, p.y));
			break;
		case ZADD_ID:
			b = addAtom(viewer.findPointOnDropPlane('z', p.x, p.y));
			break;
		}
		if (b) {
			Atom a2 = model.getAtom(model.getAtomCount() - 1);
			a2.setVx(atomCopy.getVx());
			a2.setVy(atomCopy.getVy());
			a2.setVz(atomCopy.getVz());
			viewer.setAtomVelocities(a2.getIndex(), a2.getVx(), a2.getVy(), a2.getVz());
			showVelocity(a2.getIndex(), velocityShown(atomCopyIndex));
			showTrajectory(a2.getIndex(), hasTrajectory(atomCopyIndex));
			repaint();
		}
	}