Package org.opencms.ui.apps
Class CmsFileExplorer.ExplorerDropHandler
java.lang.Object
org.opencms.ui.apps.CmsFileExplorer.ExplorerDropHandler
- All Implemented Interfaces:
 com.vaadin.event.dd.DropHandler,Serializable
- Enclosing class:
 CmsFileExplorer
public class CmsFileExplorer.ExplorerDropHandler
extends Object
implements com.vaadin.event.dd.DropHandler
The drop handler for copy/move operations.
- See Also:
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionvoiddrop(com.vaadin.event.dd.DragAndDropEvent dragEvent) com.vaadin.event.dd.acceptcriteria.AcceptCriterionprotected CmsUUIDgetTargetId(com.vaadin.event.dd.DragAndDropEvent dragEvent) Returns the drag target id.protected booleanEvaluates if a drop on the given target is allowed. 
- 
Constructor Details
- 
ExplorerDropHandler
public ExplorerDropHandler() 
 - 
 - 
Method Details
- 
drop
- Specified by:
 dropin interfacecom.vaadin.event.dd.DropHandler- See Also:
 
 - 
getAcceptCriterion
- Specified by:
 getAcceptCriterionin interfacecom.vaadin.event.dd.DropHandler- See Also:
 
 - 
getTargetId
Returns the drag target id.- Parameters:
 dragEvent- the drag event- Returns:
 - the drag target id
 
 - 
mayDrop
Evaluates if a drop on the given target is allowed.- Parameters:
 targetId- the target id- Returns:
 trueif the resources may be dropped to the given target
 
 -