public interface DropHandler<PK>
Modifier and Type | Method and Description |
---|---|
boolean |
handle(DropContext<PK> ctx)
handle
handle drop event
|
boolean |
install(InstallContext ctx)
install
evaluate if the handler may accept drops
|
boolean |
isAllowed(DropContext<PK> ctx)
isAllowed
check if drop is allowed
|
java.util.Set<Flavor> |
supportedFlavors()
supportedFlavors
Flavor supported by the handler |
boolean install(InstallContext ctx)
ctx
- context information InstallContext
boolean handle(DropContext<PK> ctx)
ctx
- context information DropContext
boolean isAllowed(DropContext<PK> ctx)
ctx
- context information DropContext
Copyright © 2024. All rights reserved.