Class CompassDropController
- java.lang.Object
-
- org.uberfire.client.workbench.widgets.dnd.CompassDropController
-
- All Implemented Interfaces:
com.allen_sauer.gwt.dnd.client.drop.DropController
@Dependent public class CompassDropController extends Object implements com.allen_sauer.gwt.dnd.client.drop.DropController
A Drop Controller covering the entire DecoratedWorkbenchPanel that renders a Compass with which to select the target position of the drag operation.
-
-
Constructor Summary
Constructors Constructor Description CompassDropController()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description com.google.gwt.user.client.ui.WidgetgetDropTarget()voidonDrop(com.allen_sauer.gwt.dnd.client.DragContext context)voidonEnter(com.allen_sauer.gwt.dnd.client.DragContext context)voidonLeave(com.allen_sauer.gwt.dnd.client.DragContext context)voidonMove(com.allen_sauer.gwt.dnd.client.DragContext context)voidonPreviewDrop(com.allen_sauer.gwt.dnd.client.DragContext context)voidsetup(WorkbenchPanelView<?> view)
-
-
-
Method Detail
-
setup
public void setup(WorkbenchPanelView<?> view)
-
onEnter
public void onEnter(com.allen_sauer.gwt.dnd.client.DragContext context)
- Specified by:
onEnterin interfacecom.allen_sauer.gwt.dnd.client.drop.DropController
-
onLeave
public void onLeave(com.allen_sauer.gwt.dnd.client.DragContext context)
- Specified by:
onLeavein interfacecom.allen_sauer.gwt.dnd.client.drop.DropController
-
onMove
public void onMove(com.allen_sauer.gwt.dnd.client.DragContext context)
- Specified by:
onMovein interfacecom.allen_sauer.gwt.dnd.client.drop.DropController
-
onDrop
public void onDrop(com.allen_sauer.gwt.dnd.client.DragContext context)
- Specified by:
onDropin interfacecom.allen_sauer.gwt.dnd.client.drop.DropController
-
getDropTarget
public com.google.gwt.user.client.ui.Widget getDropTarget()
- Specified by:
getDropTargetin interfacecom.allen_sauer.gwt.dnd.client.drop.DropController
-
onPreviewDrop
public void onPreviewDrop(com.allen_sauer.gwt.dnd.client.DragContext context) throws com.allen_sauer.gwt.dnd.client.VetoDragException- Specified by:
onPreviewDropin interfacecom.allen_sauer.gwt.dnd.client.drop.DropController- Throws:
com.allen_sauer.gwt.dnd.client.VetoDragException
-
-