Interface IDropDelegate
- All Known Implementing Classes:
AbstractMoveCommandInterfaceByCommandDropDelegate,CopyAttributeColumnDropDelegate,CopyAttributeDropDelegate,CopyDropDelegate,CopyFormCommandDropDelegate,CopyFormItemByMoveFormItemDropDelegate,CopyFormItemByPasteFormItemDropDelegate,CopyFormItemOnWysiwygByMoveFormItemDropDelegate,CopyParameterDropDelegate,CopyToExternalFormByFormItemDropDelegate,CreateButtonByCommandDropDelegate,CreateButtonByIndependentCommandDropDelegate,CreateButtonByParameterizedCommandDropDelegate,CreateButtonByParameterizedCommandPathDropDelegate,CreateButtonByPasteCommandDropDelegate,CreateButtonByPasteParameterizedCommandDropDelegate,CreateButtonOnWysiwygByCommandDropDelegate,CreateButtonOnWysiwygByIndependentCommandDropDelegate,CreateButtonOnWysiwygByParameterizedCommandDropDelegate,CreateButtonOnWysiwygByParameterizedCommandPathDropDelegate,CreateCommandInterfaceItemByCommandDropDelegate,CreateCommandInterfaceItemByIndependentCommandDropDelegate,CreateCommandInterfaceItemByParameterizedCommandDopDelegate,CreateCommandInterfaceItemByParameterizedCommandPathDropDelegate,CreateCommandInterfaceItemByParameterizedObjectDropDelegate,CreateCommandInterfaceItemByPasteCommandDropDelegate,CreateCommandInterfaceItemByPasteParameterizedCommandDropDelegate,CreateCommandInterfaceItemDropDelegate,CreateFormItemByFormItemDropDelegate,CreateFormItemByPastePropertyInfoDropDelegate,CreateFormItemByPropertyInfoDropDelegate,CreateFormItemOnWysiwygByPropertyInfoDropDelegate,DropDelegateBase,FormEntityDropDelegate,FormItemDropDelegate,MoveCommandInterfaceAutoCommandDropDelegate,MoveCommandInterfaceItemDropDelegate,MoveFormItemDropDelegate,MoveFormItemFromWysiwygDropDelegate,MoveFormItemToWysiwygDropDelegate,MoveFormItemWysiwygDropDelegate,MoveFormItemWysiwygToWysiwygDropDelegate
public interface IDropDelegate
A handler of drop events.
-
Method Summary
Modifier and TypeMethodDescriptionbooleanChecks the type of action that being processed.booleanisDropAsSibling(Collection<TransferObject<?>> transferObjects, DropEvent event) Checks whether the selection will be dropped as a sibling of a target form element or as its child.booleanisDropSupported(Collection<TransferObject<?>> transferObjects, DropEvent event) Checks whether this drop delegate supports drop of the specified selection.voidprocess(Collection<TransferObject<?>> transferObjects, DropEvent event) Processes specified drop event.
-
Method Details
-
isDropSupported
Checks whether this drop delegate supports drop of the specified selection.- Parameters:
transferObjects- the collection of the objects to be dropped, cannot benullevent- the drop target event, cannot benull- Returns:
trueif drop supported,falseotherwise
-
process
Processes specified drop event.- Parameters:
transferObjects- the collection of the objects to be dropped, cannot benullevent- the drop target event, cannot benull
-
isDropAsSibling
Checks whether the selection will be dropped as a sibling of a target form element or as its child. It can be used to set feedback position inDropTargetListener#dragOver(DropEvent).- Parameters:
transferObjects- the collection of the objects to be dropped, cannot benullevent- the drop target event, cannot benull- Returns:
trueif selection will be inserted as a sibling,falseif as child
-
isCopyAction
boolean isCopyAction()Checks the type of action that being processed.- Returns:
trueif the copy action being processed for the selection, otherwisefalse
-