DropConstraint
instead.@Deprecated public interface DropConstraint
A move operation may originate from drag-and-drop (see Vaadin's DropHandler
)
or from a move dialog (via Magnolia's MoveHandler
).
DropConstraint class is configured in the WorkbenchDefinition
.
Modifier and Type | Method and Description |
---|---|
boolean |
allowedAfter(com.vaadin.v7.data.Item sourceItem,
com.vaadin.v7.data.Item targetItem)
Deprecated.
|
boolean |
allowedAsChild(com.vaadin.v7.data.Item sourceItem,
com.vaadin.v7.data.Item targetItem)
Deprecated.
|
boolean |
allowedBefore(com.vaadin.v7.data.Item sourceItem,
com.vaadin.v7.data.Item targetItem)
Deprecated.
|
boolean |
allowedToMove(com.vaadin.v7.data.Item sourceItem)
Deprecated.
|
boolean |
isAllowedAt(com.vaadin.v7.data.Item sourceItem,
com.vaadin.v7.data.Item targetItem,
MoveLocation location)
Deprecated.
Checks whether source item is allowed to be moved relative (based on the move location) to target item.
|
boolean isAllowedAt(com.vaadin.v7.data.Item sourceItem, com.vaadin.v7.data.Item targetItem, MoveLocation location)
boolean allowedAsChild(com.vaadin.v7.data.Item sourceItem, com.vaadin.v7.data.Item targetItem)
sourceItem
- Moved Item.targetItem
- Target Item .boolean allowedBefore(com.vaadin.v7.data.Item sourceItem, com.vaadin.v7.data.Item targetItem)
sourceItem
- Moved Item.targetItem
- Target Item .boolean allowedAfter(com.vaadin.v7.data.Item sourceItem, com.vaadin.v7.data.Item targetItem)
sourceItem
- Moved Item.targetItem
- Target Item .boolean allowedToMove(com.vaadin.v7.data.Item sourceItem)
Copyright © 2019 Magnolia International Ltd.. All rights reserved.