Package org.nuclos.api.ui.dnd
Interface DropHandler<PK>
public interface DropHandler<PK>
DropHandler
handle custom drop actions
- Author:
- Moritz Neuhäuser <moritz.neuhaeuser@nuclos.de>
-
Method Summary
Modifier and TypeMethodDescriptionboolean
handle
(DropContext<PK> ctx) handle handle drop eventboolean
install
(InstallContext ctx) install evaluate if the handler may accept dropsboolean
isAllowed
(DropContext<PK> ctx) isAllowed check if drop is allowedsupportedFlavorsFlavor
supported by the handler
-
Method Details
-
install
install evaluate if the handler may accept drops- Parameters:
ctx
- context informationInstallContext
- Returns:
- evaluation result
-
handle
handle handle drop event- Parameters:
ctx
- context informationDropContext
- Returns:
- drop success
-
isAllowed
isAllowed check if drop is allowed- Parameters:
ctx
- context informationDropContext
- Returns:
-
supportedFlavors
supportedFlavorsFlavor
supported by the handler- Returns:
-