|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.eclipse.swt.dnd.DropTargetAdapter
org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter
org.eclipse.emf.ecp.ui.common.dnd.ECPDropAdapter
org.eclipse.emf.ecp.view.internal.editor.handler.ViewEditorDropAdapter
public class ViewEditorDropAdapter
| Constructor Summary | |
|---|---|
ViewEditorDropAdapter()
Default constructor needed for extension point. |
|
ViewEditorDropAdapter(org.eclipse.emf.edit.domain.EditingDomain domain,
org.eclipse.jface.viewers.Viewer viewer)
Constructor. |
|
| Method Summary | |
|---|---|
void |
dragOver(org.eclipse.swt.dnd.DropTargetEvent event)
This is called repeatedly, as the mouse moves over the viewer. |
void |
drop(org.eclipse.swt.dnd.DropTargetEvent event)
This is called to indicate that the drop action should be invoked. |
void |
dropAccept(org.eclipse.swt.dnd.DropTargetEvent event)
This is called when the mouse is released over the viewer to initiate a drop, between dragLeave and drop. |
| Methods inherited from class org.eclipse.emf.ecp.ui.common.dnd.ECPDropAdapter |
|---|
setEditingDomain, setViewer |
| Methods inherited from class org.eclipse.emf.edit.ui.dnd.EditingDomainViewerDropAdapter |
|---|
dragEnter, dragLeave, dragOperationChanged |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ViewEditorDropAdapter()
public ViewEditorDropAdapter(org.eclipse.emf.edit.domain.EditingDomain domain,
org.eclipse.jface.viewers.Viewer viewer)
domain - the EditingDomain to useviewer - the Viewer this ECPDropAdapter is applied to| Method Detail |
|---|
public void dragOver(org.eclipse.swt.dnd.DropTargetEvent event)
EditingDomainViewerDropAdapter
dragOver in interface org.eclipse.swt.dnd.DropTargetListenerdragOver in class EditingDomainViewerDropAdapterpublic void dropAccept(org.eclipse.swt.dnd.DropTargetEvent event)
EditingDomainViewerDropAdapter
dropAccept in interface org.eclipse.swt.dnd.DropTargetListenerdropAccept in class EditingDomainViewerDropAdapterpublic void drop(org.eclipse.swt.dnd.DropTargetEvent event)
EditingDomainViewerDropAdapter
drop in interface org.eclipse.swt.dnd.DropTargetListenerdrop in class EditingDomainViewerDropAdapter
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||