|
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
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(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(IDiagramWorkbenchPart workbenchPart)
workbenchPart - the diagram workbench part| Method Detail |
public Transfer[] getTransfers()
protected final void initialize(Control control)
control - the viewer's controlpublic void dragEnter(DropTargetEvent event)
public void dragLeave(DropTargetEvent event)
public void dragOperationChanged(DropTargetEvent event)
public void dragOver(DropTargetEvent event)
public void drop(DropTargetEvent event)
public void dropAccept(DropTargetEvent event)
public boolean isEmpty()
protected 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.