DRAGGED - dragged objects type.TARGET - target object type.public abstract class AbstractReferenceDropHandler<DRAGGED,TARGET>
extends java.lang.Object
com.hybris.cockpitng.dnd.DragAndDropActionType| Constructor and Description |
|---|
AbstractReferenceDropHandler() |
| Modifier and Type | Method and Description |
|---|---|
protected DragAndDropConfigurationService |
getDragAndDropConfigurationService() |
protected abstract java.util.List<<any>> |
handleAppend(java.util.List<DRAGGED> dragged,
TARGET target,
DragAndDropContext context)
Returns the result of appending of the dragged object to the target.
|
java.util.List<<any>> |
handleDrop(java.util.List<DRAGGED> dragged,
TARGET target,
DragAndDropContext context) |
protected abstract java.util.List<<any>> |
handleReplace(java.util.List<DRAGGED> dragged,
TARGET target,
DragAndDropContext context)
Returns the result of replacing of the dragged object in the target.
|
protected DragAndDropActionType |
resolveActionType(DragAndDropContext context) |
void |
setDragAndDropConfigurationService(DragAndDropConfigurationService dragAndDropConfigurationService) |
public java.util.List<<any>> handleDrop(java.util.List<DRAGGED> dragged, TARGET target, DragAndDropContext context)
protected DragAndDropActionType resolveActionType(DragAndDropContext context)
protected abstract java.util.List<<any>> handleAppend(java.util.List<DRAGGED> dragged, TARGET target, DragAndDropContext context)
dragged - dragged objects.target - target object on which dragged objects are dropped.context - context of drag&drop operation.protected abstract java.util.List<<any>> handleReplace(java.util.List<DRAGGED> dragged, TARGET target, DragAndDropContext context)
dragged - dragged objects.target - target object on which dragged objects are dropped.context - context of drag&drop operation.protected DragAndDropConfigurationService getDragAndDropConfigurationService()
public void setDragAndDropConfigurationService(DragAndDropConfigurationService dragAndDropConfigurationService)
Copyright © 2018 SAP SE. All Rights Reserved.