protected void setDragOverFeedback(DragSourceDragEvent e) {
		DragSourceContext context = e.getDragSourceContext();
		int dropOp = e.getDropAction();
		int targetAction = e.getTargetActions();
		int action = dropOp & targetAction;
		Cursor c = null;

		if (action == DnDConstants.ACTION_NONE) {
			// drop not possible
			if ((dropOp & DnDConstants.ACTION_LINK) == DnDConstants.ACTION_LINK) {
				c = LINK_NO_DROP_CURSOR;
			}
			else if ((dropOp & DnDConstants.ACTION_MOVE) == DnDConstants.ACTION_MOVE) {
				c = MOVE_NO_DROP_CURSOR;
			}
			else {
				c = COPY_NO_DROP_CURSOR;
			}
		}
		else {
			// drop is possible
			c = getDropOkCursor(action);
		}

		context.setCursor(null); // bug workaround...
		currentCursor = c;
		context.setCursor(c);
	}
Sets the cursor according to the actions that are legal.
@param e the event
Ghidra/Framework/Docking/src/main/java/docking/dnd/DragSrcAdapter.java