|
Runtime | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.eclipse.gmf.runtime.common.core.service.AbstractProvider
org.eclipse.gmf.runtime.common.core.service.Service
org.eclipse.gmf.runtime.common.ui.services.dnd.core.DragDropListenerService
public class DragDropListenerService
A service that provides the IDragSourceListener and
IDropTargetListener. This service gets the all the providers
that provide listeners for the specified context.
| Nested Class Summary | |
|---|---|
protected static class |
DragDropListenerService.ProviderDescriptor
A descriptor for IDragDropListenerProvider defined by a
configuration element. |
| Field Summary |
|---|
| Fields inherited from class org.eclipse.gmf.runtime.common.core.service.Service |
|---|
INVALID_ELEMENT_MESSAGE_PATTERN |
| Constructor Summary | |
|---|---|
protected |
DragDropListenerService()
The DragDropListenerService constructor |
| Method Summary | |
|---|---|
java.lang.String[] |
getAllTransferIds(java.lang.String partId,
java.lang.String operationType)
Utility to get all the registered transfer ids against a part id for an operation type |
IDragSourceListener[] |
getDragSourceListeners(IDragListenerContext context)
Returns an array of IDragSourceListener for the given
IDragDropListenerContext |
IDropTargetListener[] |
getDropTargetListeners(IDropListenerContext context)
Returns an array of IDropTargetListener for the given
IDragDropListenerContext |
static DragDropListenerService |
getInstance()
Gets the instance of DragDropListenerService |
protected Service.ProviderDescriptor |
newProviderDescriptor(IConfigurationElement element)
Creates a new provider descriptor for the specified configuration element. |
| Methods inherited from class org.eclipse.gmf.runtime.common.core.service.Service |
|---|
addProvider, clearCache, configureProviders, configureProviders, createPriorityCache, execute, executeUnique, getAllProviders, getCachingKey, getPriority, getProviders, isOptimistic, isOptimized, providerChanged, provides, provides, removeProvider |
| Methods inherited from class org.eclipse.gmf.runtime.common.core.service.AbstractProvider |
|---|
addProviderChangeListener, fireProviderChange, removeProviderChangeListener |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.eclipse.gmf.runtime.common.core.service.IProvider |
|---|
addProviderChangeListener, provides, removeProviderChangeListener |
| Constructor Detail |
|---|
protected DragDropListenerService()
| Method Detail |
|---|
public static DragDropListenerService getInstance()
instance variableprotected Service.ProviderDescriptor newProviderDescriptor(IConfigurationElement element)
Serviceelement.
newProviderDescriptor in class Serviceelement - The configuration element from which to create the descriptor.
public java.lang.String[] getAllTransferIds(java.lang.String partId,
java.lang.String operationType)
partId - the part idoperationType - the type of operation (drag or drop)
public IDragSourceListener[] getDragSourceListeners(IDragListenerContext context)
IDragDropListenerProviderIDragSourceListener for the given
IDragDropListenerContext
getDragSourceListeners in interface IDragDropListenerProvidercontext - The context for the provider
IDragSourceListenerpublic IDropTargetListener[] getDropTargetListeners(IDropListenerContext context)
IDragDropListenerProviderIDropTargetListener for the given
IDragDropListenerContext
getDropTargetListeners in interface IDragDropListenerProvidercontext - The context for the provider
IDropTargetListener
|
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.