|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.jface.util.DelegatingDropAdapter
org.eclipse.gef.dnd.DelegatingDropAdapter
org.eclipse.gmf.runtime.diagram.ui.dnd.parts.DiagramViewerDropAdapter
public class DiagramViewerDropAdapter
This class extends the GEF drop target adapter. It delgates all the drop
events to the
org.eclipse.gmf.runtime.common.ui.internal.dnd.drop.DelegatingDropTargetAdapter
If there are no drop target listeners registered with the common
infrastructure, then the drop events are delegated to the parent adpater
DelegatingDropTargetAdapter| Constructor Summary | |
|---|---|
DiagramViewerDropAdapter(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart workbenchPart)
Constructor |
|
| Method Summary | |
|---|---|
void |
dragEnter(DropTargetEvent event)
|
void |
dragLeave(DropTargetEvent event)
|
void |
dragOperationChanged(DropTargetEvent event)
|
void |
dragOver(DropTargetEvent event)
|
void |
drop(DropTargetEvent event)
|
void |
dropAccept(DropTargetEvent event)
|
Transfer[] |
getTransfers()
|
protected void |
initialize(Control control)
Initializes the delegating drop adapter |
boolean |
isEmpty()
|
protected boolean |
isInitialized()
Returns the isInitialized. |
| Methods inherited from class org.eclipse.gef.dnd.DelegatingDropAdapter |
|---|
addDropTargetListener, getTransferTypes, removeDropTargetListener |
| Methods inherited from class org.eclipse.jface.util.DelegatingDropAdapter |
|---|
addDropTargetListener, removeDropTargetListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public DiagramViewerDropAdapter(org.eclipse.gmf.runtime.diagram.ui.parts.IDiagramWorkbenchPart workbenchPart)
workbenchPart - the diagram workbench part| Method Detail |
|---|
public Transfer[] getTransfers()
getTransfers in class DelegatingDropAdapterprotected final void initialize(Control control)
control - the viewer's controlpublic void dragEnter(DropTargetEvent event)
dragEnter in interface DropTargetListenerdragEnter in class DelegatingDropAdapterpublic void dragLeave(DropTargetEvent event)
dragLeave in interface DropTargetListenerdragLeave in class DelegatingDropAdapterpublic void dragOperationChanged(DropTargetEvent event)
dragOperationChanged in interface DropTargetListenerdragOperationChanged in class DelegatingDropAdapterpublic void dragOver(DropTargetEvent event)
dragOver in interface DropTargetListenerdragOver in class DelegatingDropAdapterpublic void drop(DropTargetEvent event)
drop in interface DropTargetListenerdrop in class DelegatingDropAdapterpublic void dropAccept(DropTargetEvent event)
dropAccept in interface DropTargetListenerdropAccept in class DelegatingDropAdapterpublic boolean isEmpty()
isEmpty in class DelegatingDropAdapterprotected final boolean isInitialized()
|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
Guidelines for using Eclipse APIs.
Copyright (c) IBM Corp., Borland Software Corp., and others 2005,2006. All rights reserved.