Checks whether the current placeholder position represents a change to the original draggable position within the tree.<p>

@param target the current drop target

@return <code>true</code> if the position changed
495085
private boolean isChangedPosition(I_CmsDropTarget target) {

        // if the new index is not next to the old one, the position has changed
        if ((target != m_initialDropTarget)
            || !((target.getPlaceholderIndex() == (m_originalIndex + 1))
                || (target.getPlaceholderIndex() == m_originalIndex))) {
            return true;
        }
        return false;
    }
1373091
public Actions clickAndHold(WebElement target) {
    if (isBuildingActions()) {
      action.addAction(new ClickAndHoldAction(jsonMouse, (Locatable) target));
    }
    return moveInTicks(target, 0, 0)
        .tick(defaultMouse.createPointerDown(LEFT.asArg()));
  }
74902
@Override
	public boolean dropTrack(PointTrack track) {
		if( !tracksAll.remove(track) )
			return false;

		if( !sets[track.setId].tracks.remove(track) ) {
			return false;
		}
		// the track may or may not be in the active list
		tracksActive.remove(track);
		tracksInactive.remove(track);
		// it must be in the all list
		// recycle the data
		unused.add(track);
		return true;
	}
1318796
public <T extends AbstractJaxb> boolean remove(T target) {
        String id = target.getId();
        if (id == null) {
            for (int i = 0; i < 256; i++) {
                id = UUID.randomUUID().toString();
                if (this.getById(id) == null) {
                    target.setId(id);
                    break;
                }
            }
        }
        return RemoveByIdUtil.removeById(id, this);
    }
54265
public void dragAndDropWithPause(String locator, String targetLocator, int pause)
	{
		dragAndDropToObject(locator, targetLocator);
		jtCore.pause(pause);
	}
872519
@Override
    public void setTarget(Object target) {
        if (mTarget != target) {
            final Object oldTarget = mTarget;
            mTarget = target;
            if (oldTarget != null && target != null && oldTarget.getClass() == target.getClass()) {
                return;
            }
            // New target type should cause re-initialization prior to starting
            mInitialized = false;
        }
    }
344375
private void checkPlaceholderVisibility(I_CmsDropTarget target) {

        if (target instanceof I_CmsDropContainer) {
            I_CmsDropContainer container = (I_CmsDropContainer)target;
            container.setPlaceholderVisibility(
                (container != m_initialDropTarget)
                    || ((m_currentIndex - m_originalIndex) > 1)
                    || ((m_originalIndex - m_currentIndex) > 0));
        }
    }
549466
protected void animateDrop(
        final I_CmsDraggable draggable,
        final I_CmsDropTarget target,
        final I_CmsDNDController controller) {

        controller.onAnimationStart(draggable, target, this);
        stopDragging();
        Command callback = new Command() {

            /**
             * @see com.google.gwt.user.client.Command#execute()
             */
            public void execute() {

                controller.onDrop(draggable, target, CmsDNDHandler.this);
                target.onDrop(draggable);
                draggable.onDrop(target);
                clear();
            }
        };
        CmsPositionBean placeholderPosition = CmsPositionBean.getBoundingClientRect(m_placeholder);
        showEndAnimation(callback, placeholderPosition.getTop(), placeholderPosition.getLeft(), true);
    }
563864
@Override
  public boolean isAcceptableChange(
      Changes changes, Tree node, MethodSymbol symbol, VisitorState state) {
    return findArgumentsForOtherInstances(symbol, node, state).stream()
        .allMatch(arguments -> !anyArgumentsMatch(changes.changedPairs(), arguments));
  }
1228930
static void setPlaceholder(ImageView target, @Nullable Drawable placeholderDrawable) {
    target.setImageDrawable(placeholderDrawable);
    if (target.getDrawable() instanceof Animatable) {
      ((Animatable) target.getDrawable()).start();
    }
  }
765696
public void dragAndDropToObject(String locator, String targetLocator)
	{
		jtCore.waitForElementPresent(locator);
		(new Actions(jtCore.getWebDriver())).dragAndDrop(jtCore.getElement(locator), jtCore.getElement(targetLocator)).perform();
	}
801317
private void checkForCycles(Class<?> target) {
        Stack<Class<?>> trace = new Stack<>();
        trace.push(target);
        checkForCycles(target, target, trace);
    }
1345604
public boolean isHit(Range target) {
		for (Range range : getRanges()) {
			if (range.hasIntersection(target)) {
				return true;
			}
		}
		return false;
	}
926490
@LogExecTime
	public void dragAndDropWithPause(String locator, String targetLocator, int pause)
	{
		jtEvent.dragAndDropWithPause(locator, targetLocator, pause);
	}
520008
public final void update(final float position) {
        if (reset) {
            reset = false;
            distance = 0;
            thresholdReachedPosition = -1;
            dragStartTime = -1;
            dragStartPosition = position;
            reachedThreshold = false;
            minDragDistance = 0;
            maxDragDistance = 0;
        }

        if (!reachedThreshold) {
            if (reachedThreshold(position - dragStartPosition)) {
                dragStartTime = System.currentTimeMillis();
                reachedThreshold = true;
                thresholdReachedPosition = position;
            }
        } else {
            float newDistance = position - thresholdReachedPosition;

            if (minDragDistance != 0 && minDragDistance > newDistance) {
                newDistance = minDragDistance;
                thresholdReachedPosition = position - minDragDistance;
            }

            if (maxDragDistance != 0 && maxDragDistance < newDistance) {
                newDistance = maxDragDistance;
                thresholdReachedPosition = position - maxDragDistance;
            }

            distance = newDistance;
        }
    }
92421
private boolean affectsTarget(List<Integer> targetIds, int currentId) {
    return targetIds == null || targetIds.isEmpty() || targetIds.contains(currentId);
  }
866601
public void setTargetFolder(String target) {

        m_targetFolder = target;
        setCaption(Messages.get().key(Messages.GUI_UPLOAD_DIALOG_TITLE_1, m_targetFolder));
    }