@OpenApiAll
public abstract class CustomDragAndDropHandler
extends java.lang.Object
CustomDropDiagramHandlerFactory
CustomDropDiagramHandlerFactory
Constructor and Description |
---|
CustomDragAndDropHandler() |
Modifier and Type | Method and Description |
---|---|
abstract boolean |
drop(java.awt.Point location,
PresentationElement elementOver,
java.util.List<Element> draggedElements,
DiagramPresentationElement diagramPresentationElement)
Executes the drop action
|
abstract java.lang.String |
getDescription()
Returns the description of the drop diagram handler
|
abstract boolean |
willAcceptDrop(java.awt.Point location,
PresentationElement elementOver,
java.util.List<Element> draggedElements,
DiagramPresentationElement diagramPresentationElement)
Checks if drop can be executed
|
public abstract java.lang.String getDescription()
public abstract boolean willAcceptDrop(@CheckForNull java.awt.Point location, @CheckForNull PresentationElement elementOver, @CheckForNull java.util.List<Element> draggedElements, @CheckForNull DiagramPresentationElement diagramPresentationElement)
location
- drop locationelementOver
- presentation element on which data is draggeddraggedElements
- dragged elementsdiagramPresentationElement
- diagram presentation element on which Drag and Drop action is executedpublic abstract boolean drop(@CheckForNull java.awt.Point location, @CheckForNull PresentationElement elementOver, @CheckForNull java.util.List<Element> draggedElements, @CheckForNull DiagramPresentationElement diagramPresentationElement)
location
- drop locationelementOver
- presentation element on which drop is executeddraggedElements
- dragged elements over drop targetdiagramPresentationElement
- diagram presentation element on which Drag and Drop action is executed