private void adjustOriginalPositionIndicator(
        CmsSitemapTreeItem draggable,
        I_CmsDropTarget target,
        CmsDNDHandler handler) {

        if (!isChangedPosition(draggable, target, true)) {
            draggable.getElement().addClassName(I_CmsSitemapLayoutBundle.INSTANCE.sitemapItemCss().markUnchanged());
            List<Element> itemWidget = CmsDomUtil.getElementsByClass(
                org.opencms.gwt.client.ui.css.I_CmsLayoutBundle.INSTANCE.listItemWidgetCss().itemContainer(),
                handler.getPlaceholder());
            if ((itemWidget != null) && (itemWidget.size() > 0)) {
                CmsDomUtil.addDisablingOverlay(itemWidget.get(0));
            }
        } else {
            draggable.getElement().removeClassName(I_CmsSitemapLayoutBundle.INSTANCE.sitemapItemCss().markUnchanged());
            CmsDomUtil.removeDisablingOverlay(handler.getPlaceholder());
        }
    }
private void adjustOriginalPositionIndicator ( CmsSitemapTreeItem draggable , I_CmsDropTarget target , CmsDNDHandler handler ) { if ( ! isChangedPosition ( draggable , target , true ) ) { draggable . getElement ( ) . addClassName ( I_CmsSitemapLayoutBundle . INSTANCE . sitemapItemCss ( ) . markUnchanged ( ) ) ; List < Element > itemWidget = CmsDomUtil . getElementsByClass ( org . opencms . gwt . client . ui . css . I_CmsLayoutBundle . INSTANCE . listItemWidgetCss ( ) . itemContainer ( ) , handler . getPlaceholder ( ) ) ; if ( ( itemWidget != null ) && ( itemWidget . size ( ) > 0 ) ) { CmsDomUtil . addDisablingOverlay ( itemWidget . get ( 0 ) ) ; } } else { draggable . getElement ( ) . removeClassName ( I_CmsSitemapLayoutBundle . INSTANCE . sitemapItemCss ( ) . markUnchanged ( ) ) ; CmsDomUtil . removeDisablingOverlay ( handler . getPlaceholder ( ) ) ; } }
Adjust the original position indicator by styling the draggable element for this purpose.<p>

@param draggable the draggable
@param target the current drop target
@param handler the drag and drop handler