@SuppressWarnings("unchecked")
    public boolean onDragStart(I_CmsDraggable draggable, I_CmsDropTarget target, CmsDNDHandler handler) {

        handler.setOrientation(Orientation.VERTICAL);
        if ((target instanceof CmsList) && (draggable instanceof CmsListItem)) {
            m_list = (CmsList<CmsListItem>)target;
            m_startPosition = m_list.getItemPosition((CmsListItem)draggable);
            handler.clearTargets();
            handler.addTarget(target);
            target.getElement().insertBefore(handler.getPlaceholder(), draggable.getElement());
            return true;
        }
        return false;
    }
@ SuppressWarnings ( "unchecked" ) public boolean onDragStart ( I_CmsDraggable draggable , I_CmsDropTarget target , CmsDNDHandler handler ) { handler . setOrientation ( Orientation . VERTICAL ) ; if ( ( target instanceof CmsList ) && ( draggable instanceof CmsListItem ) ) { m_list = ( CmsList < CmsListItem > ) target ; m_startPosition = m_list . getItemPosition ( ( CmsListItem ) draggable ) ; handler . clearTargets ( ) ; handler . addTarget ( target ) ; target . getElement ( ) . insertBefore ( handler . getPlaceholder ( ) , draggable . getElement ( ) ) ; return true ; } return false ; }
@see org.opencms.gwt.client.dnd.I_CmsDNDController#onDragStart(org.opencms.gwt.client.dnd.I_CmsDraggable, org.opencms.gwt.client.dnd.I_CmsDropTarget, org.opencms.gwt.client.dnd.CmsDNDHandler)